Ankündigung

Einklappen
Keine Ankündigung bisher.

hilfe bei Fatal error: Class 'Archive_Zip'

Einklappen
X
  • Filter
  • Zeit
  • Anzeigen
Alles löschen
neue Beiträge

  • hilfe bei Fatal error: Class 'Archive_Zip'

    Guten Morgen, hoffe jemand kann mir mal gerade weiter helfen?

    bekomme immer folgenden Error:

    Fatal error: Class 'Archive_Zip' not found in ... line 382

    PHP-Code:
                include_once('importer_Zip.php');

                
                
    $zippath "iconz/favicon_".$unique.".zip";
                
    $zip = new Archive_Zip($zippath);
                
    $zip->create("tmp/ico", array('remove_path'=>"tmp/ico/")); 
    ich nutzte PHP5.2


  • #2
    Mach mal aus include require
    Lerne Grundlagen | Schreibe gute Beispiele | PDO > mysqli > mysql | Versuch nicht, das Rad neu zu erfinden | Warum $foo[bar] böse ist | SQL Injections | Hashes sind keine Verschlüsselungen! | Dein E-Mail Regex ist falsch

    Kommentar


    • #3
      bringt leider auch keinen erfolg:

      Hier ist mal der gesamte code der seite:

      PHP-Code:
      <?php include("common.php"); ?>

      <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
      <html>
      <head>
      <link rel="shortcut icon" href="favicon.ico">

      <meta http-equiv="Content-Type" content="text/html; charset=utf-8">
      <title><?php echo $title ?></title>
      <? if (($_REQUEST["type"] == "mz") || ($_REQUEST["type"] =="ie") || ($_REQUEST["type"] =="iea")) { ?>
          <link rel="SHORTCUT ICON" href="iconz/<?=$_REQUEST['id']?>_favicon.ico" type="image/x-icon">
      <? } ?>

      <? if ($_REQUEST["type"] == "mza") { ?>
          <link rel="icon" href="iconz/<?=$_REQUEST['id']?>_extra_animated_favicon.gif" type="image/x-icon">
      <? } ?>


      <script language="JavaScript" type="text/JavaScript">
      <!--

      function MM_preloadImages() { //v3.0
        var d=document; if(d.images){ if(!d.MM_p) d.MM_p=new Array();
          var i,j=d.MM_p.length,a=MM_preloadImages.arguments; for(i=0; i<a.length; i++)
          if (a[i].indexOf("#")!=0){ d.MM_p[j]=new Image; d.MM_p[j++].src=a[i];}}
      }
      //-->
      </script>
      <link href="style.css" rel="stylesheet" type="text/css">
      <link href="css.css" rel="stylesheet" type="text/css">
      <style type="text/css">
      <!--
      a:link {
          color: #99CC00;
          text-decoration: none;
      }
      a:visited {
          color: #99CC00;
          text-decoration: none;
      }
      a:hover {
          color: #CCFF00;
          text-decoration: underline;
      }
      a:active {
          color: #99CC00;
          text-decoration: none;
      }
      a {
          font-weight: bold;
      }
      .style1 {
          font-size: large;
          font-weight: bold;
          color: #99CC00;
      }
      .style2 {font-size: 9px}
      .style3 {color: #FFFFFF}
      .style8 {color: #FFFFFF; font-weight: bold; }
      .style9 {COLOR: #666666; font-weight:bold; font-family: Tahoma;}
      .style10 {color: #333333; font-size: 9px; }
      .style11 {color: #FFFFFF; font-size: 9px; }
      -->
      </style></head>

      <body onLoad="MM_preloadImages('images/l1-1.jpg')">

      <?
          include "config.php";
      ?>
          <table width="766"  style="height:100%" border="0" cellspacing="0" cellpadding="0" align="center">
            <tr>
                <td valign="top">
                  <table width="786"  style="height:750px" border="0" cellspacing="0" cellpadding="0" bgcolor="#ffffff">
                      <tr>
                        <td width="786" valign="middle"><div align="center" >
                            <p align="center"><a href="<?php echo $url ?>" border="0"><img src="images/logo.jpg" alt="favicon icons animated images free"/></a><br><img src="images/banner.jpg" alt="favicons icons animated pictures emoticons free"><br>
                            
                            <script type="text/javascript"><!--
      google_ad_client = "pub-<?php echo $google ?>";
      google_ad_width = 728;
      google_ad_height = 90;
      google_ad_format = "728x90_as";
      google_ad_type = "image";
      google_ad_channel ="";
      google_color_border = "ffffff";
      google_color_bg = "ffffff";
      google_color_link = "99cc00";
      google_color_url = "333333";
      google_color_text = "333333";
      //--></script>
                                                            <script type="text/javascript"
        src="http://pagead2.googlesyndication.com/pagead/show_ads.js">
                                                          </script>
                                                          
                                                          </p>
                            <p align="center" class="tx2"><strong><a href="index.php">BOOKMARKS:</a>&nbsp;</strong><span class="tx2"><a href="http://www.blinklist.com/index.php?Action=Blink/addblink.php&amp;Url=<?php echo $url ?>" target="_blank">BlinkList</a>&nbsp; <a href="http://del.icio.us/post?url=<?php echo $url ?>" target="_blank">del.icio.us</a>&nbsp; <a href="http://digg.com/submit?phase=2&amp;url=<?php echo $url ?>" target="_blank">Digg it</a>&nbsp; <a href="http://www.furl.net/storeIt.jsp?t=Free+Favicon+Generator&amp;u=<?php echo $url ?>" target="_blank">Furl</a>&nbsp; <a href="http://ma.gnolia.com/bookmarklet/add?url=<?php echo $url ?>" target="_blank">ma.gnolia</a>&nbsp; <a href="http://www.netvouz.com/action/submitBookmark?url=<?php echo $url ?>&amp;popup=no" target="_blank">Netvouz</a>&nbsp; <a href="http://www.rawsugar.com/pages/tagger.faces?turl=<?php echo $url ?>" target="_blank">RawSugar</a>&nbsp; <a href="http://www.shadows.com/features/tcr.htm?url=<?php echo $url ?>" target="_blank">Shadows</a>&nbsp; <a href="http://simpy.com/simpy/LinkAdd.do?note=Free+Favicon+Generator&amp;href=<?php echo $url ?>" target="_blank">Simpy</a>&nbsp; <a href="http://www.spurl.net/spurl.php?url=<?php echo $url ?>&amp;title=Free+Favicon+Generator" target="_blank">Spurl</a>&nbsp; <a href="http://myweb2.search.yahoo.com/myresults/bookmarklet?t=Free+Favicon+Generator&amp;u=<?php echo $url ?>" target="_blank">Yahoo MyWeb</a>&nbsp;</span></p>
                           </div>  </td>
                      </tr>
                      <tr>
                          <td width="776" style="height:422px" valign="top">
                              <table  width="776" style="height:422px" border="0" cellspacing="0" cellpadding="0">
                                <tr>
                                  <td width="100%" style="height:422px" valign="top">
                                      <table width="100%" style="height:422px" border="0" cellspacing="0" cellpadding="0">
                                        <tr>
                                          <td class="m_text" width="776" style="height:100%" bgcolor="#ffffff" valign="top"><form action='' method='post' enctype='multipart/form-data' target='_self'>
                                            <table width="100%" border='0' align="center" cellpadding='2' cellspacing='0' summary=''>
                                              <tr>
                                                <td height="164"><table width="776" border='0' align="center" cellpadding='10' cellspacing='0' summary=''>
                                                    <tr>
                                                      <td colspan="2" align='left' valign='middle' width="100%">
                                                          <p class="tx2">What exactly is a favicon ?<br><br></p>
                                                           <p>A favicon is that stylish little icon that is displayed in your browser next to the website address (See the sample picture above). 
                                                          If you're wondering where the name came from then its short for "Favourites Icon". Its called that because if your visitors add your site
                                                          to their favourites then it will also shows up on their list making your site stand out that little bit more.
                                                          <br><br> </p>
                                              <p class="tx2">Why would I want one then ? <br><br></p>
                                  <p>Most professional websites usually have them so having one will not only put your site alongside the pros
                                  but also help distinguish you from the rest. <br><br></p>
                                  
                                   <p class="tx2">How do I get one ? <br><br></p>
                              
                                   <p>If you want one then it's extremely easy with our 
                    favicon creator. All you need is an image (any size will do),
                    submit it using the form below and after a couple of seconds
                    you'll get your image back compressed and resized for use as a favicon. It really is that simple!<br><br> </p>
                  <p class="tx2">Which browsers are favicons compatible with ? <br><br></P>
                                              <p> Most versions of the major browsers 
                                                support favicons. Some examples include 
                                                Internet Explorer 5/6/7+, Firefox 1/2+, 
                                                Mozilla 1/2+, Netscape 7+, Opera 7+, 
                                                Avant 1.1, Konqueror 3+, Safari and 
                                                many more. </p>
                                               </td>
                                                    </tr>
                                                    <tr>
                                                      <td width="33%" align='right' valign='middle' class="tx2">
                                                        Upload Image:
                                                     </td>
                                                      <td width="64%" valign="middle" class='nf'><input name="image" type="file" class="bodytext5" value='' size='25' />                                                </td>
                                                    </tr>
                                                    <tr>
                                                      <td width="33%" align='right' valign='middle' class='tx2'><strong>Scrolling Text (optional):</strong></td>
                                                      <td valign="middle" class='nf'><input style="width: 250px; font-size: 11px; FONT-FAMILY: Tahoma; color: #666666" type='text' name='string' size='25' maxlength='50' value='' /></td>
                                                    </tr>
                                                    <tr>
                                                      <td height="68" align='right' valign='bottom' class='style3'>&nbsp;</td>
                                                      <td class='nf'><input name='GFSubmit' type='submit' class="bodytext5" value='Create FavIcon' size='20' maxlength='20' />                                                </td>
                                                    </tr>
                                                    <tr>
                                                      <td height="40" colspan="2"  align='right' valign='bottom' class='nf'>
                                                      <table width="85%" border="0" align="center" cellpadding="0" cellspacing="0">
                                                        <tr>
                                                          <td><div align="left">
                                                            <script type="text/javascript"><!--
      google_ad_client = "pub-<?php echo $google ?>";
      google_ad_width = 300;
      google_ad_height = 250;
      google_ad_format = "300x250_as";
      google_ad_type = "image";
      google_ad_channel ="";
      google_color_border = "ffffff";
      google_color_bg = "ffffff";
      google_color_link = "99cc00";
      google_color_url = "999999";
      google_color_text = "999999";
      //--></script>
                                                            <script type="text/javascript"
        src="http://pagead2.googlesyndication.com/pagead/show_ads.js">
                                                          </script></div>
                                                          </td>
                                                          <td><div align="right">
                                                            <script type="text/javascript"><!--
      google_ad_client = "pub-<?php echo $google ?>";
      google_ad_width = 300;
      google_ad_height = 250;
      google_ad_format = "300x250_as";
      google_ad_type = "text";
      google_ad_channel ="";
      google_color_border = "ffffff";
      google_color_bg = "ffffff";
      google_color_link = "99cc00";
      google_color_url = "999999";
      google_color_text = "999999";
      //--></script>
                                                            <script type="text/javascript"
        src="http://pagead2.googlesyndication.com/pagead/show_ads.js">
                                                          </script></div>
                                                         </td>
                                                        </tr>
                                                      </table>
                                                      </td>
                                                    </tr>
                                                </table></td>
                                              </tr>
                                            </table>
                                            <p align="left">
                                              <input type='hidden' name='go' value='1' />
                                              <input type='hidden' name='r' value="" />
                                          
                                            </form>
                                                                              <p style="margin-left:px; margin-top:px;">
                                                                                <?
          $mysql_link = @mysql_connect($mysql_host, $mysql_user, $mysql_password) or die("<center><span class=bodytext5red><b>Can not connect to mysql server!</b></span><br><br>");
          @mysql_select_db($mysql_db) or die("<center><span class=bodytext5red><b>Can not select database!</b></span><br><br>");

          if ((isset($_REQUEST["page"])) and ($_REQUEST["page"]=="try")) {
              $zippath = "iconz/favicon_".$_REQUEST["id"].".zip";

              if (!isset($_REQUEST["type"])) {
                  $_REQUEST["type"] = "none";
              }
      ?>
      <center>
        <table width="100%"  border="0" cellspacing="0" cellpadding="0"> <tr align="left">
          <td width="138" height="35" valign="middle" class="h_text"><? if (($_REQUEST["type"]=="none") || ($_REQUEST["type"] == "mz") || ($_REQUEST["type"] =="mza")) { ?><br>
      <br><center>
      </center>       </td> </tr> <tr align="left">
          <td height="35" valign="middle" class="h_text"><? } if (($_REQUEST["type"]=="none") || ($_REQUEST["type"] == "ie") || ($_REQUEST["type"] =="iea")) { ?>
            Â </td>
          </tr></table>
      </center>
      <? } ?>
      <?
          }
          elseif (isset($_REQUEST["string"])) {
              require('gifmerge.class.php');
              
              $fname = $_FILES["image"]["tmp_name"];
          
              $size = getimagesize($fname);
              $small_image = imagecreate(16,16);
              $small_image2 = imagecreate(32,32);
              
              $someerror = false;
              switch ($size[2]) {
                  case 1:
                      $my_im = imagecreatefromgif($fname);
                      break;
                  case 2:
                      $my_im = imagecreatefromjpeg($fname);
                      break;
                  case 3:
                      $my_im = imagecreatefrompng($fname);
                      break;
                  case 6: 
                      $my_im = imagecreatefromwbmp($fname);
                      break;
                  default:
                      echo "<center><span class=bodytext5red><b>Sorry. Only GIF, JPG and PNG formats are supported!</b></span><br><br>";
                      $someerror = true;
                      break;
              }
              
              if (!$someerror) {
                  $unique = md5(time().$fname);
                  
                  //mkdir("iconz/".$unique);
                  //mkdir("iconz/".$unique."/extra");
                  $q = "INSERT INTO iconz (`date`, `unique`, `text`, `datetime`) values ('".time()."', '".$unique."', '".$_POST["string"]."', NOW())";
                  mysql_query($q);
                  
                  imagecopyresampled($small_image, $my_im, 0, 0, 0, 0, 16, 16, $size[0], $size[1]);
                  imagepng($small_image, "iconz/".$unique."_extra_preview_16x16.png");

                  imagecopyresampled($small_image2, $my_im, 0, 0, 0, 0, 32, 32, $size[0], $size[1]);
                  imagepng($small_image2, "iconz/".$unique."_extra_preview_32x32.png");
                  imagedestroy($small_image2);
                  
                  $maxwidth = 999;
                  $maxheight = 15;
              
                  $im = imagecreate($maxwidth+1, 16);
                  
                  $col1 = imagecolorallocate($im, 255, 255, 255);
                  $col = imagecolorallocate($im, 0, 0, 0);
              
                  imagecopy($im, $small_image, 0, 0, 0, 0, 15, 15);
                  
                  imagestring($im, 4, 15, 0, $_POST["string"], $col);
                  
                  $f = false;
                  for ($i = $maxwidth; $i>17; $i--) {
                      for ($y = 0; $y<$maxheight; $y++) {
                          if (imagecolorat($im, $i, 10) != $col1) {
                              $f = true;
                              break;
                          }
                      }
                      if ($f == true) break;
                  }
                  
                  //========================================================
                  
                  $im2 = imagecreate($i+3+16+5, $maxheight+1);
                  
                  imagecopy($im2, $im, 0,0, 0,0, $i+3+15, 16);
                  
                  imagedestroy($im);
                  
                  imagecopy($im2, $small_image, $i+9, 0, 0, 0, 15, 15);
                  
                  for($ii = 0; $ii <= $i+3+5; $ii++) {
                      $im3 = imagecreate(16,16);
                      imagecopy($im3, $im2, 0, 0, $ii, 0, $ii+15, 16);
                      
                      $tmp_name = "tmp/mytmp".$ii.$unique.".gif";
                      imagegif($im3, $tmp_name);
                      
                      $__i[] = $tmp_name;
                      $__d[] = 6;
                      $__x[] = 0;
                      $__y[] = 0;
                      
                      imagedestroy($im3);
                  }
                  
                  $__d[count($__d)-1] = 180;
                  
                  $gifmerge    = new GifMerge($__i, 55, 55, 55, -10, $__d, 2, $__x, $__y, 'C_FILE');
                  
                  $f = fopen("iconz/".$unique."_extra_animated_favicon.gif", "w");
                  fputs($f, $gifmerge -> getAnimation());
                  fclose($f);
                  
                  foreach ($__i as $pth) {
                      unlink($pth);
                  }

                  $readme = '
      * Thank you for using our FavIcon Generator!  Here are the contents of this compressed package:

        favicon.ico  --  The favicon file (supports both 16*16 and 32*32 dimensions).

        * You can add a favicon to your web page by uploading favicon.ico to Root of your 
          website and inserting the following HTML tag between the <head> ... </head>
          tags of your web page.

            <link rel="shortcut icon" href="favicon.ico">

        * How to use the Animated FavIcon: if you would like to display the animated favicon, upload
          animated_favicon1.gif also and insert the following HTML tags.

            <link rel="shortcut icon" href="favicon.ico" >
            <link rel="icon" href="animated_favicon1.gif" type="image/gif" >


      * Other extra files in this package

        * The following files are included for your convenience. These are optional files:

          - favicon.ico - favicon.
          - preview_16x16.png - 16*16 PNG image file of the favicon.
          - preview_32x32.png - 32*32 PNG image file of the favicon.
          - animated_favicon.gif - animated version of the favicon.
          - readme.txt - this quick reference.
      ';
                  
                  $f = fopen("iconz/".$unique."_readme.txt", "w");
                  fputs($f, $readme);
                  fclose($f);
                  
                  if (isset($_REQUEST['second'])) echo $_REQUEST['second'];
                      
                  copy("iconz/".$unique."_readme.txt", "tmp/ico/readme.txt");
                  copy("iconz/".$unique."_extra_animated_favicon.gif", "tmp/ico/animated_favicon.gif");
                  copy("iconz/".$unique."_extra_preview_16x16.png", "tmp/ico/preview_16x16.png");
                  copy("iconz/".$unique."_extra_preview_32x32.png", "tmp/ico/preview_32x32.png");

                  require_once('phpThumb.config.php');
                  $thisThumb = phpThumbUrl('src='.$root2.'tmp/ico/preview_32x32.png&w=50&f=ico');
                  $s = file_get_contents($root.$thisThumb);
                  $f = fopen("iconz/".$unique."_favicon.ico", "w");
                  fputs($f, $s);
                  fclose($f);

                  copy("iconz/".$unique."_favicon.ico", "tmp/ico/favicon.ico");
                  
                  include_once('importer_Zip.php');
                  
                  $zippath = "iconz/favicon_".$unique.".zip";
                  $zip = new Archive_Zip($zippath);
                  $zip->create("tmp/ico", array('remove_path'=>"tmp/ico/"));
                  
                  unlink("tmp/ico/readme.txt");
                  unlink("tmp/ico/animated_favicon.gif");
                  unlink("tmp/ico/preview_16x16.png");
                  unlink("tmp/ico/preview_32x32.png");
                  unlink("tmp/ico/favicon.ico");

                  ?>
                      <table width="750" border='0' align="center" cellpadding='2' cellspacing='0' summary=''>
              <tr>
                <td><table width="650" border="0" align="center" cellpadding="0" cellspacing="0">

                  <tr align="center" class="bodytext6">
                    <td width="313" class="tx1">Your Preview: </td>
                    <td width="309" class="tx1">Download your new FavIcon : </td>
                    </tr>
                  <tr>
                    <td width="313" align="center" valign="middle" class="m_text">&nbsp;
                        <div style="border:0px solid #717171;width:172px;background-color:#ffffff;margin:0px;padding:0px;">
                          <div style="float:left;width:170px;"><img src="images/up.gif" alt=" FavIcon Preview " width="170" height="7" border="0" /></div>
                          <div>
                            <div style="float:left;width:48px;clear:both;"><img src="images/left.gif" alt=" FavIcon Preview " width="48" height="17" border="0" /></div>
                            <div style="float:left;width:18px;height:16px;font-size:8pt;padding-left:2px;padding-top:1px;margin:0px;"><img src="iconz/<?=$unique?>_extra_preview_16x16.png" alt=" FavIcon Preview " width="16" height="16" border="0" /></div>
                            <div style="float:left;width:102px;"><img src="images/right.gif" alt=" FavIcon Preview " width="102" height="17" border="0" /></div>
                          </div>
                          <div style="float:left;width:170px;clear:both;"><img src="images/down.gif" alt=" FavIcon Preview " width="170" height="8" border="0" /></div>
                          <div style="clear:both;">
                            <!-- -->
                          </div>
                        </div></td>
                    <td width="50%" align="center" valign="middle" class="m_text">&nbsp;<a href='<?=$zippath?>'><br>
                          <img src='images/downloadbutton.jpg' border='0' /></a></td>
                    </tr>
                  <tr>
                    <td colspan="2" align="center" valign="middle" class="m_text">&nbsp;
                        <div style="padding-top:5px;font:85% Tahoma, Arial, Serif;"><span class="tx3">NEW! Animated Favicon!</span></div>
                      <div style="border:0px solid #ffffff;width:172px;background-color:#ffffff;margin:0px;padding:0px;">
                        <div style="float:left;width:170px;"><img src="images/up.gif" alt=" FavIcon Preview " width="170" height="7" border="0" /></div>
                        <div>
                          <div style="float:left;width:48px;clear:both;"><img src="images/left.gif" alt=" FavIcon Preview " width="48" height="17" border="0" /></div>
                          <div style="float:left;width:18px;height:16px;font-size:8pt;padding-left:2px;padding-top:1px;margin:0px;"><img src="iconz/<?=$unique?>_extra_animated_favicon.gif" alt=" FavIcon Preview " width="16" height="16" border="0" /></div>
                          <div style="float:left;width:102px;"><img src="images/right.gif" alt=" FavIcon Preview " width="102" height="17" border="0" /></div>
                        </div>
                        <div style="float:left;width:170px;clear:both;"><img src="images/down.gif" alt=" FavIcon Preview " width="170" height="8" border="0" /></div>
                        <div style="clear:both;">
                          <!-- -->
                        </div>
                      </div> <a href='index.php?page=try&id=<?=$unique?>'><br>
                      </a></td>
                    </tr>
                  <tr>
                    <td height="74" colspan="2" align="center"><div align="left">
                            <span class="tx2">Favicon Download & Installation Instructions</span><br><br>
                          <p>
                      1)&nbsp;Click the &quot;Get It Now&quot; button above, this will download the a .zip file. Unzip it and your favicon.ico file is inside.<br /><br>
                      2)&nbsp;Upload the <span class="tx1">favicon.ico</span> file to your web site root folder (Your root is where your index page is located).<br/><br>
                      3)&nbsp;Next open your webpage and between your &lt;head&gt; and &lt;/head&gt; tags enter the follow code:<br><br>
                      
                              <p align="center"><span class="tx1"> &lt;link rel=&quot;shortcut icon&quot; href=&quot;favicon.ico&quot;&gt;</span></p>
                      <p>4)&nbsp;Finally read the text file that comes in the .zip and you can begin using your new favicon immediately! <br>
                      <br>
                      <span class="tx2">It still doesn't work?</span><br><br>Depending on your ISP and sometimes your system's caching, it may take up to 48 hours to start seeing your new Favicon, 
                      so don't worry if you don't see it right away!<br>
                      <br>
                      </p>
                      </div></td>
                    </tr>
                </table>        </tr></table>
                  <?

                  $count = file_get_contents("count.ini");
                  $count += 1;

                  $f = fopen("count.ini", "w");
                  fputs($f, $count);
                  fclose($f);
              }
          } else {

              $q = "SELECT * FROM iconz ORDER BY id DESC LIMIT ".$iconz_limit;
              $r = mysql_query($q);

              echo "<tr><td><center><span class='tx2'>Last 10 Favicons</span><br><br>";
              while ($elem = mysql_fetch_array($r)) {
                  echo '<img src="iconz/'.$elem['unique'].'_extra_preview_16x16.png"> '.$elem['']."";
              }
              echo "";
          }

          mysql_query("DELETE FROM iconz WHERE datetime < NOW() - INTERVAL ".$delete_days_interval." DAY");
      ?></td>
                                        </tr>                                  
                                      </table>                            </td>
                                  <td width="27" style="background-image: url(images/r-dr.jpg); background-repeat: repeat-y; background-position: bottom;height:100%" valign="top"><div style="margin-left:px; margin-top:px;"></div></td>
                                </tr>
                              </table>                    </td>
                      </tr>
                      <tr>
                          <td width="766" valign="top"><div align="left" class="c_text" style="margin-left:43px; margin-top:21px; margin-right:px">
                            <div align="center" class="style10"><img src="images/favicon_av.gif"/>&nbsp;&nbsp;Design by : <a href="http://www.iTraderSolutions.com">iTraderSolutions &copy 2006</a>  &nbsp;&nbsp;| &nbsp;&nbsp;<a href="index.php"> Home</a> &nbsp;&nbsp;|&nbsp;&nbsp;<a href="mailto:<?php echo $email ?>" class="c_text">Contact Us </a> &nbsp;&nbsp;|&nbsp;&nbsp;&nbsp;<a href="mailto:?subject=Hey, Check Out <?php echo $url ?>" target="_blank">Tell-A-Friend</a> &nbsp;&nbsp;|&nbsp;&nbsp;<a href="javascript:window.external.AddFavorite('<?php echo $url ?>', '<?php echo $url ?>')">Bookmark   Us </a>&nbsp; <br><br></div>
                          </div></td>
                      </tr>
              </table></td>
            </tr>
          </table>
      </body>
      </html>

      Kommentar


      • #4
        Genau, weil keiner was bessers zu tun hat als 500 Zeilen durchzulesen - das bringt nichts. Gibts in dieser "importer_Zip.php" überhaupt ne Funktion, die so heißt?
        Lerne Grundlagen | Schreibe gute Beispiele | PDO > mysqli > mysql | Versuch nicht, das Rad neu zu erfinden | Warum $foo[bar] böse ist | SQL Injections | Hashes sind keine Verschlüsselungen! | Dein E-Mail Regex ist falsch

        Kommentar


        • #5
          änder mal das

          PHP-Code:
              $zippath "iconz/favicon_".$unique.".zip";
                      
          $zip = new Archive_Zip($zippath);
                      
          $zip->create("tmp/ico", array('remove_path'=>"tmp/ico/")); 
          in

          PHP-Code:
              $zippath "iconz/favicon_".$unique.".zip";
          $zip = new ZipArchive();
          $zip->open($zippath);
          $zip->extractTo('/tmp/ico');
          $zip->close();
          //ab hier sollte man dann mit php funktionen das /tmp/ico verzeichnis löschen sobald man die dateien daraus kopiert hat bzw irgendwohin verschoben hat 
          apt-get install npm -> npm install -g bower -> bower install <package> YOLO https://www.paypal.me/BlackScorp

          Kommentar


          • #6
            das funktioniert leider nicht?
            Das script habe ich mir aus dem Nezt besorgt und bei anderen funktioniert es z.B. bei freefavicons.de
            leider kenne ich mich mit php noch nicht so gut aus um solch einen fehler zu beheben. Hat noch jemand eine idee?

            Kommentar


            • #7
              Ja, lern Grundlagen, wenn Du mit uns Implementierungen diskutieren willst. Oder such Dir nen Profi und bezahl den für die Dienstleistung.
              --

              „Emoticons machen einen Beitrag etwas freundlicher. Deine wirken zwar fachlich richtig sein, aber meist ziemlich uninteressant.
              Wenn man nur Text sieht, haben viele junge Entwickler keine interesse, diese stumpfen Texte zu lesen.“


              --

              Kommentar


              • #8
                Nun bin schließlich hier im Forum angemeldet um 1. was zu lernen und 2. Hilfe und Unterstützung zu erhalten.
                Ich habe mein Problem extra im Beriech Einsteiger eingestellt da ich hier nicht über Implmentierungen diskutieren möchte sondern um den Fehler aufgezeigt zu bekommen damit ich daraus lernen kann.
                Aber trotzdem danke für den Beitrag!

                Kommentar


                • #9
                  gut dann erkläre ich dir das mal.

                  dein fehlerbeschreibung:

                  Fatal error: Class 'Archive_Zip' not found in ... line 382

                  das kann daran liegen dass in deiner

                  PHP-Code:
                   include_once('importer_Zip.php'); 
                  die klasse anders heißt, um dir weiter zu helfen , brauchen wir diese importer_zip bzw die seite wo du es runtergeladen hast, eventuell haste ja eine falsche datei eingebunden
                  apt-get install npm -> npm install -g bower -> bower install <package> YOLO https://www.paypal.me/BlackScorp

                  Kommentar


                  • #10
                    da ich hier nicht über Implmentierungen diskutieren möchte
                    Das ist aber das Ziel dieses Forums. Wir wenden uns an Programmierer. Wir sind nicht hier, weil wir alle zu wenig unbezahlte Arbeit haben.
                    --

                    „Emoticons machen einen Beitrag etwas freundlicher. Deine wirken zwar fachlich richtig sein, aber meist ziemlich uninteressant.
                    Wenn man nur Text sieht, haben viele junge Entwickler keine interesse, diese stumpfen Texte zu lesen.“


                    --

                    Kommentar

                    Lädt...
                    X