erlaubte datein hochladen [php]

Dieses Thema im Forum "Webentwicklung" wurde erstellt von SeriousK, 29. August 2005 .

Status des Themas:
Es sind keine weiteren Antworten möglich.
  1. 29. August 2005
    Zuletzt von einem Moderator bearbeitet: 14. April 2017
    Könnte mir jemand in diesm script:

    PHP:

    <td width="116" height="37">Bild w&auml;hlen </td>
          <td width="313"><input type="hidden" name="MAX_FILE_SIZE" value="1000000">
            <input name="userfile" type="file" /></td>
        </tr>
        <tr>
          <td height="32">Max. Gr&ouml;sse</td>
          <td> 1024kb</td>
        </tr>
        <tr>
          <td height="31">Dateitypen</td>
          <td> .jpg , .gif</td>

        </tr>

        <tr>
          <td height="38">&nbsp;</td>
          <td><br />
            <input type="submit" value="Upload" />
          <?php     
    $dateityp 
    GetImageSize ( $_FILES [ 'userfile' ][ 'tmp_name' ]);
    if(
    $dateityp [ 2 ] !=  0 )
       {                      
    if (@
    is_uploaded_file ( $_FILES [ "userfile" ][ "tmp_name" ])) {
            
    $newname  time (). '.' . $_FILES [ "userfile" ][ "name" ];
            
    $newname  ereg_replace ( " " , "_" , $newname );
            
    $newname  ereg_replace ( "!" , "_" , $newname );
            
    $newname  ereg_replace ( "&ouml;" , "oe" , $newname );
            
    $newname  ereg_replace ( "&auml;" , "ae" , $newname );
            
    $newname  ereg_replace ( "&uuml;" , "ue" , $newname );
            
    $newname  ereg_replace ( "&Auml;" , "AE" , $newname );
            
    $newname  ereg_replace ( "&Ouml;" , "OE" , $newname );
            
    $newname  ereg_replace ( "&Uuml;" , "UE" , $newname );
            
    $newname  ereg_replace ( "&szlig;" , "ss" , $newname );
            
    $newname  ereg_replace ( "'" , "_" , $newname );
            
    copy ( $_FILES [ "userfile" ][ "tmp_name" ],  "files/" . $newname );
            
    ?></td>
        </tr>
      </table>
      
      <p>&nbsp;</p>
      <table width="200" border="0" align="center">
        <tr>
          <td><? 
          
    echo  "<b>File uploaded successfully.</b><br />" ;

    ?>      </td>
        </tr>
      </table>
      <p>&nbsp;</p>
      <table width="200" border="0" align="center">
        <tr>
          <td> <center><?     
                
    for ( $i = 0 ; $i < 1 ; $i ++){
           echo 
    "<b>Vorschau</b><br>" ;
           echo 
    "<img width=200 height=200 src='http://www.xxxxx.ch/xxxxx/files/ $newname ' ><br><br><br>" ;

           echo 
    "<b>IMG Tag</b><br>" ;
           echo 
    "{bild-down: https://xup.in/dl,52045397/http:wwwxxxxxxchxxxxxfilesnewname." }

    {
    img - src http : //www.xxxxxx.ch/xxxxx/".files."/".$newname."}<br>";

           
    echo  "<b>Direct link to image</b><br>" ;
           echo 
    "http://www.xxxx.ch/xxxxx/" . files . "/" . $newname . "<br>" ;

           echo 
    "<b>Hotlink Forum 1</b><br>" ;
           echo 
    "[URL=http://xxxxx.am]{bild-down: http://www.xxxxx.ch/xxxx/" . files . "/" . $newname . "}
    [/URL]<br>"
    ;

           echo 
    "<b>Hotlink Forum 2</b><br>" ;
           echo 
    "[url=http://xxx.am][img=http://www.xxxx.ch/xxxx/" . files . "/" . $newname . "][/url]<br>" ;
             }
            }    
           }
           else
        {
        echo 
    "Bitte nur Bilder im Gif bzw. jpg Format hochladen" ;
        }                           
    ?></center></td>
        </tr>
      </table>

    eine Limitirung reinbauen das man nur jpg, jpeg, gif und png hochladen kann?
     
  2. 29. August 2005
    Zuletzt von einem Moderator bearbeitet: 14. April 2017
    Hier bitte
    Code:
    <td width="116" height="37">Bild w&auml;hlen </td>
     <td width="313"><input type="hidden" name="MAX_FILE_SIZE" value="1000000">
     <input name="userfile" type="file" /></td>
     </tr>
     <tr>
     <td height="32">Max. Gr&ouml;sse</td>
     <td> 1024kb</td>
     </tr>
     <tr>
     <td height="31">Dateitypen</td>
     <td> .jpg , .gif</td>
    
     </tr>
    
     <tr>
     <td height="38">&nbsp;</td>
     <td><br />
     <input type="submit" value="Upload" />
     <?php
    $dateityp = GetImageSize($_FILES['userfile']['tmp_name']);
    if(eregi("jpg",$_FILES['datei']['type']) || eregi("gif",$_FILES['datei']['type']) || eregi("png",$_FILES['datei']['type']))
     {
    if (@is_uploaded_file($_FILES["userfile"]["tmp_name"])) {
     $newname = time().'.'.$_FILES["userfile"]["name"];
     $newname = ereg_replace(" ","_",$newname);
     $newname = ereg_replace("!","_",$newname);
     $newname = ereg_replace("&ouml;","oe",$newname);
     $newname = ereg_replace("&auml;","ae",$newname);
     $newname = ereg_replace("&uuml;","ue",$newname);
     $newname = ereg_replace("&Auml;","AE",$newname);
     $newname = ereg_replace("&Ouml;","OE",$newname);
     $newname = ereg_replace("&Uuml;","UE",$newname);
     $newname = ereg_replace("&szlig;","ss",$newname);
     $newname = ereg_replace("'","_",$newname);
     copy($_FILES["userfile"]["tmp_name"], "files/".$newname);
     ?></td>
     </tr>
     </table>
    
     <p>&nbsp;</p>
     <table width="200" border="0" align="center">
     <tr>
     <td><?
     echo "<b>File uploaded successfully.</b><br />";
    
    ?> </td>
     </tr>
     </table>
     <p>&nbsp;</p>
     <table width="200" border="0" align="center">
     <tr>
     <td> <center><?
     for ($i=0;$i<1;$i++){
     echo "<b>Vorschau</b><br>";
     echo "<img width=200 height=200 src='http://www.xxxxx.ch/xxxxx/files/$newname' ><br><br><br>";
    
     echo "<b>IMG Tag</b><br>";
     echo "{bild-down: https://xup.in/dl,52045397/http:wwwxxxxxxchxxxxxfilesnewname}
    
    {img-src: http://www.xxxxxx.ch/xxxxx/".files."/".$newname."}<br>";
    
     echo "<b>Direct link to image</b><br>";
     echo "http://www.xxxx.ch/xxxxx/".files."/".$newname."<br>";
    
     echo "<b>Hotlink Forum 1</b><br>";
     echo "[URL=http://xxxxx.am]{bild-down: http://www.xxxxx.ch/xxxx/".files."/".$newname."}
    [/URL]<br>";
    
     echo "<b>Hotlink Forum 2</b><br>";
     echo "[url=http://xxx.am][img=http://www.xxxx.ch/xxxx/".files."/".$newname."][/url]<br>";
     }
     }
     }
     else
     {
     echo "Bitte nur Bilder im Gif bzw. jpg Format hochladen";
     }
    ?></center></td>
     </tr>
     </table>
    
    Wenn es funzt würde ich mich über eine Bewertung natürlich freuen
     
  3. 29. August 2005
    nein leider nicht ..... man siht den link und die vorschau usw. nicht mehr nach dem uploaden!

    wenn du das noch hinbekommst bekommst ne 10

    hier nochmal alles:

    PHP:
    <html>                          
    <head>
           
    <style type="text/css">
    text {  font-family: Arial, Helvetica, sans-serif; font-size: 12px; color: #333333}
    stext {  font-family: Arial, Helvetica, sans-serif; font-size: 10px; color: #666666}
    wtext {  font-family: Arial, Helvetica, sans-serif; font-size: 11px; font-weight: bold; color:red}

    .ch {
        cursor: pointer;
        cursor: hand;
    }

    a:link, a:active, a:visited  {
        font-family : Arial, Helvetica, sans-serif;
        font-size: 12px;
        color : #666666;
        font-weight: bold;
        text-decoration: none;

        }

    a:hover  {
        font-family : Arial, Helvetica, sans-serif;
        font-size: 12px;
        color : #333333;
        text-decoration: underline;
     
        }
    table {
    background-color:#FFFFFF;
    border:1px black solid; 
    color:#222222;
    font-family: Arial, Helvetica, sans-serif;
    font-size: 11px;
    }

    body{
    background-color:#EFEFEF;
    }

    input
      {
                 font-family: Arial, Helvetica, sans-serif;
                 font-size: 11px;
                 background-color:#F5F5F5;
                 color:#222222;
                 border: 1px solid #CCCCCC;
    }
    </style>                   
    <title>xxxxxxxxx</title>
    </head>                         
    <body>           
               
    <form enctype="multipart/form-data" action="<?php  echo  $_SERVER [ "PHP_SELF" ];  ?>" method="post">
      <p align="center"><strong><img src=http://www.xxxxx/xxxxxxx/files/1124984768.banner.gif></strong></p>

      <div align="center"></div><center>
      <table width="441" border="0" align="center">
        <tr>
          <td width="116" height="37">Bild w&auml;hlen </td>
          <td width="313"><input type="hidden" name="MAX_FILE_SIZE" value="100000000000">
            <input name="userfile" type="file" /></td>
        </tr>
        <tr>
          <td height="32">Max. Gr&ouml;sse</td>
          <td> 1024kb</td>
        </tr>
        <tr>
          <td height="31">Dateitypen</td>
          <td> .jpg , .gif</td>

        </tr>

        <tr>
          <td height="38">&nbsp;</td>
          <td><br />
            <input type="submit" value="Upload" />
          <?php     
    $dateityp 
    GetImageSize ( $_FILES [ 'userfile' ][ 'tmp_name' ]);
    if(
    $dateityp [ 2 ] !=  0 )
       {                      
    if (@
    is_uploaded_file ( $_FILES [ "userfile" ][ "tmp_name" ])) {
            
    $newname  time (). '.' . $_FILES [ "userfile" ][ "name" ];
            
    $newname  ereg_replace ( " " , "_" , $newname );
            
    $newname  ereg_replace ( "!" , "_" , $newname );
            
    $newname  ereg_replace ( "&ouml;" , "oe" , $newname );
            
    $newname  ereg_replace ( "&auml;" , "ae" , $newname );
            
    $newname  ereg_replace ( "&uuml;" , "ue" , $newname );
            
    $newname  ereg_replace ( "&Auml;" , "AE" , $newname );
            
    $newname  ereg_replace ( "&Ouml;" , "OE" , $newname );
            
    $newname  ereg_replace ( "&Uuml;" , "UE" , $newname );
            
    $newname  ereg_replace ( "&szlig;" , "ss" , $newname );
            
    $newname  ereg_replace ( "'" , "_" , $newname );
            
    copy ( $_FILES [ "userfile" ][ "tmp_name" ],  "files/" . $newname );
            
    ?></td>
        </tr>
      </table>
      
      <p>&nbsp;</p>
      <table width="200" border="0" align="center">
        <tr>
          <td><? 
          
    echo  "<b>File uploaded successfully.</b><br />" ;

    ?>      </td>
        </tr>
      </table>
      <p>&nbsp;</p>
      <table width="200" border="0" align="center">
        <tr>
          <td> <center><?     
                
    for ( $i = 0 ; $i < 1 ; $i ++){
           echo 
    "<b>Vorschau</b><br>" ;
           echo 
    "<img width=200 height=200 src='http://www.xxxxxxx.ch/xxxxxxx/files/ $newname ' ><br><br><br>" ;

           echo 
    "<b>IMG Tag</b><br>" ;
           echo 
    "{bild-down: http:/xxxxxxxxxh/serious/" . files . "/" . $newname . "}
    <br>"
    ;

           echo 
    "<b>Direct link to image</b><br>" ;
           echo 
    "http://wwwxxxxxxxx.ch/xxxxs/" . files . "/" . $newname . "<br>" ;

           echo 
    "<b>Hotlink Forum 1</b><br>" ;
           echo 
    "[URL=http://ixxxxm]{bild-down: http://www.txxxxxh/xxxxx/" . files . "/" . $newname . "}
    [/URL]<br>"
    ;

           echo 
    "<b>Hotlink Forum 2</b><br>" ;
           echo 
    "[url=http://ixxxxxxxm][img=http://wwwxxxxxxxxxxh/xxxxx/" . files . "/" . $newname . "][/url]<br>" ;
             }
            }    
           }
           else
        {
        echo 
    "Bitte nur Bilder im Gif bzw. jpg Format hochladen" ;
        }                           
    ?></center></td>
        </tr>
      </table>
      <p align="center">
    <A HREF="http://xxxxxxxxxx" target="_blank"><img src=http://img370.imageshack.us/img370/1xxx6/042fc.jpg></A>&nbsp;</p>
    </form>                         
    </body>                         
    </html>
     
  4. 29. August 2005
    PHP:
    <html>                          
    <head>
           
    <style type="text/css">
    text {  font-family: Arial, Helvetica, sans-serif; font-size: 12px; color: #333333}
    stext {  font-family: Arial, Helvetica, sans-serif; font-size: 10px; color: #666666}
    wtext {  font-family: Arial, Helvetica, sans-serif; font-size: 11px; font-weight: bold; color:red}

    .ch {
        cursor: pointer;
        cursor: hand;
    }

    a:link, a:active, a:visited  {
        font-family : Arial, Helvetica, sans-serif;
        font-size: 12px;
        color : #666666;
        font-weight: bold;
        text-decoration: none;

        }

    a:hover  {
        font-family : Arial, Helvetica, sans-serif;
        font-size: 12px;
        color : #333333;
        text-decoration: underline;
     
        }
    table {
    background-color:#FFFFFF;
    border:1px black solid; 
    color:#222222;
    font-family: Arial, Helvetica, sans-serif;
    font-size: 11px;
    }

    body{
    background-color:#EFEFEF;
    }

    input
      {
                 font-family: Arial, Helvetica, sans-serif;
                 font-size: 11px;
                 background-color:#F5F5F5;
                 color:#222222;
                 border: 1px solid #CCCCCC;
    }
    </style>                   
    <title>xxxxxxxxx</title>
    </head>                         
    <body>           
               
    <form enctype="multipart/form-data" action="<?php  echo  $_SERVER [ "PHP_SELF" ];  ?>" method="post">
      <p align="center"><strong><img src=http://www.xxxxx/xxxxxxx/files/1124984768.banner.gif></strong></p>

      <div align="center"></div><center>
      <table width="441" border="0" align="center">
        <tr>
          <td width="116" height="37">Bild w&auml;hlen </td>
          <td width="313"><input type="hidden" name="MAX_FILE_SIZE" value="100000000000">
            <input name="userfile" type="file" /></td>
        </tr>
        <tr>
          <td height="32">Max. Gr&ouml;sse</td>
          <td> 1024kb</td>
        </tr>
        <tr>
          <td height="31">Dateitypen</td>
          <td> .jpg , .gif</td>

        </tr>

        <tr>
          <td height="38">&nbsp;</td>
          <td><br />
            <input type="submit" value="Upload" />
          <?php     
    $dateityp 
    GetImageSize ( $_FILES [ 'userfile' ][ 'tmp_name' ]);
    if(
    $dateityp [ 2 ] !=  0 )
       {                      
    if (@
    is_uploaded_file ( $_FILES [ "userfile" ][ "tmp_name" ])) {
            
    $newname  time (). '.' . $_FILES [ "userfile" ][ "name" ];
            
    $newname  ereg_replace ( " " , "_" , $newname );
            
    $newname  ereg_replace ( "!" , "_" , $newname );
            
    $newname  ereg_replace ( "&ouml;" , "oe" , $newname );
            
    $newname  ereg_replace ( "&auml;" , "ae" , $newname );
            
    $newname  ereg_replace ( "&uuml;" , "ue" , $newname );
            
    $newname  ereg_replace ( "&Auml;" , "AE" , $newname );
            
    $newname  ereg_replace ( "&Ouml;" , "OE" , $newname );
            
    $newname  ereg_replace ( "&Uuml;" , "UE" , $newname );
            
    $newname  ereg_replace ( "&szlig;" , "ss" , $newname );
            
    $newname  ereg_replace ( "'" , "_" , $newname );
    if ( 
    strpos ( $newname , ".gif" ) !==  false  ||  strpos ( $newname , ".jpg" ) !==  false  ||  strpos ( $file_name , ".jpeg" ) !==  false
    ||  strpos ( $file_name , ".png" ) !==  false ){
    copy ( $_FILES [ "userfile" ][ "tmp_name" ],  "files/" . $newname ); 
    } else {
               echo 
    " Only gif jpg jpeg or png allowed" ;
            }
            
    ?></td>
        </tr>
      </table>
      
      <p>&nbsp;</p>
      <table width="200" border="0" align="center">
        <tr>
          <td><? 
    if (  strpos ( $newname , ".gif" ) !==  false  ||  strpos ( $newname , ".jpg" ) !==  false  ||  strpos ( $file_name , ".jpeg" ) !==  false
    ||  strpos ( $file_name , ".png" ) !==  false ){      
    echo 
    "<b>File uploaded successfully.</b><br />" ;
    }else{
    echo 
    "<b>ERROR</b><br />" ;
    }
    ?>      </td>
        </tr>
      </table>
      <p>&nbsp;</p>
      <table width="200" border="0" align="center">
        <tr>
          <td> <center><?     
                
    for ( $i = 0 ; $i < 1 ; $i ++){
           echo 
    "<b>Vorschau</b><br>" ;
           echo 
    "<img width=200 height=200 src='http://www.xxxxxxx.ch/xxxxxxx/files/ $newname ' ><br><br><br>" ;

           echo 
    "<b>IMG Tag</b><br>" ;
           echo 
    "{bild-down: http:/xxxxxxxxxh/serious/" . files . "/" . $newname . "}
    <br>"
    ;

           echo 
    "<b>Direct link to image</b><br>" ;
           echo 
    "http://wwwxxxxxxxx.ch/xxxxs/" . files . "/" . $newname . "<br>" ;

           echo 
    "<b>Hotlink Forum 1</b><br>" ;
           echo 
    "[URL=http://ixxxxm]{bild-down: http://www.txxxxxh/xxxxx/" . files . "/" . $newname . "}
    [/URL]<br>"
    ;

           echo 
    "<b>Hotlink Forum 2</b><br>" ;
           echo 
    "[url=http://ixxxxxxxm][img=http://wwwxxxxxxxxxxh/xxxxx/" . files . "/" . $newname . "][/url]<br>" ;
             }
            }    
           }
           else
        {
        echo 
    "Bitte nur Bilder im Gif bzw. jpg Format hochladen" ;
        }                           
    ?></center></td>
        </tr>
      </table>
      <p align="center">
    <A HREF="http://xxxxxxxxxx" target="_blank"><img src=http://img370.imageshack.us/img370/1xxx6/042fc.jpg></A>&nbsp;</p>
    </form>                         
    </body>                         
    </html>
     
  5. 29. August 2005
    hmmm.....wenn ich pngs hochladen möchte kommt nen ERROR......


    ich denke es muss hier irgenwo liegen oder?

    PHP:

    if ( strpos($newname,".gif") !== false || strpos($newname,".jpg") !== false || strpos($file_name,".jpeg") !== false
    || strpos($file_name,".png") !== false){
    copy($_FILES["userfile"]["tmp_name"], "files/".$newname); 
    } else {
               echo " Only gif jpg jpeg or png allowed";
            }
            ?></td>
        </tr>
      </table>
      
      <p>&nbsp;</p>
      <table width="200" border="0" align="center">
        <tr>
          <td><? 
    if (  strpos ( $newname , ".gif" ) !==  false  ||  strpos ( $newname , ".jpg" ) !==  false  ||  strpos ( $file_name , ".jpeg" ) !==  false
    ||  strpos ( $file_name , ".png" ) !==  false ){      
    echo 
    "<b>File uploaded successfully.</b><br />" ;
    }else{
    echo 
    "<b>ERROR</b><br />" ;
    }
    ?> 

     
  6. 29. August 2005
    omg war'n dummer Fehler..
    Code:
    <html> 
    <head>
     
    <style type="text/css">
    text { font-family: Arial, Helvetica, sans-serif; font-size: 12px; color: #333333}
    stext { font-family: Arial, Helvetica, sans-serif; font-size: 10px; color: #666666}
    wtext { font-family: Arial, Helvetica, sans-serif; font-size: 11px; font-weight: bold; color:red}
    
    .ch {
     cursor: pointer;
     cursor: hand;
    }
    
    a:link, a:active, a:visited {
     font-family : Arial, Helvetica, sans-serif;
     font-size: 12px;
     color : #666666;
     font-weight: bold;
     text-decoration: none;
    
     }
    
    a:hover {
     font-family : Arial, Helvetica, sans-serif;
     font-size: 12px;
     color : #333333;
     text-decoration: underline;
     
     }
    table {
    background-color:#FFFFFF;
    border:1px black solid; 
    color:#222222;
    font-family: Arial, Helvetica, sans-serif;
    font-size: 11px;
    }
    
    body{
    background-color:#EFEFEF;
    }
    
    input
     {
     font-family: Arial, Helvetica, sans-serif;
     font-size: 11px;
     background-color:#F5F5F5;
     color:#222222;
     border: 1px solid #CCCCCC;
    }
    </style> 
    <title>xxxxxxxxx</title>
    </head> 
    <body> 
     
    <form enctype="multipart/form-data" action="<?php echo $_SERVER["PHP_SELF"]; ?>" method="post">
     <p align="center"><strong><img src=http://www.xxxxx/xxxxxxx/files/1124984768.banner.gif></strong></p>
    
     <div align="center"></div><center>
     <table width="441" border="0" align="center">
     <tr>
     <td width="116" height="37">Bild w&auml;hlen </td>
     <td width="313"><input type="hidden" name="MAX_FILE_SIZE" value="100000000000">
     <input name="userfile" type="file" /></td>
     </tr>
     <tr>
     <td height="32">Max. Gr&ouml;sse</td>
     <td> 1024kb</td>
     </tr>
     <tr>
     <td height="31">Dateitypen</td>
     <td> .jpg , .gif</td>
    
     </tr>
    
     <tr>
     <td height="38">&nbsp;</td>
     <td><br />
     <input type="submit" value="Upload" />
     <?php 
    $dateityp = GetImageSize($_FILES['userfile']['tmp_name']);
    if($dateityp[2] != 0)
     { 
    if (@is_uploaded_file($_FILES["userfile"]["tmp_name"])) {
     $newname = time().'.'.$_FILES["userfile"]["name"];
     $newname = ereg_replace(" ","_",$newname);
     $newname = ereg_replace("!","_",$newname);
     $newname = ereg_replace("&ouml;","oe",$newname);
     $newname = ereg_replace("&auml;","ae",$newname);
     $newname = ereg_replace("&uuml;","ue",$newname);
     $newname = ereg_replace("&Auml;","AE",$newname);
     $newname = ereg_replace("&Ouml;","OE",$newname);
     $newname = ereg_replace("&Uuml;","UE",$newname);
     $newname = ereg_replace("&szlig;","ss",$newname);
     $newname = ereg_replace("'","_",$newname);
    if ( strpos($newname,".gif") !== false 
    || strpos($newname,".jpg") !== false 
    || strpos($newname,".jpeg") !== false
    || strpos($newname,".png") !== false){
    copy($_FILES["userfile"]["tmp_name"], "files/".$newname); 
    } else {
     echo " Only gif jpg jpeg or png allowed";
     }
     ?></td>
     </tr>
     </table>
     
     <p>&nbsp;</p>
     <table width="200" border="0" align="center">
     <tr>
     <td><? 
    if ( strpos($newname,".gif") !== false 
    || strpos($newname,".jpg") !== false 
    || strpos($newname,".jpeg") !== false
    || strpos($newname,".png") !== false){ 
    echo "<b>File uploaded successfully.</b><br />";
    }else{
    echo "<b>ERROR</b><br />";
    }
    ?> </td>
     </tr>
     </table>
     <p>&nbsp;</p>
     <table width="200" border="0" align="center">
     <tr>
     <td> <center><? 
     for ($i=0;$i<1;$i++){
     echo "<b>Vorschau</b><br>";
     echo "<img width=200 height=200 src='http://www.xxxxxxx.ch/xxxxxxx/files/$newname' ><br><br><br>";
    
     echo "<b>IMG Tag</b><br>";
     echo "{bild-down: http:/xxxxxxxxxh/serious/".files."/".$newname."}
    <br>";
    
     echo "<b>Direct link to image</b><br>";
     echo "http://wwwxxxxxxxx.ch/xxxxs/".files."/".$newname."<br>";
    
     echo "<b>Hotlink Forum 1</b><br>";
     echo "[URL=http://ixxxxm]{bild-down: http://www.txxxxxh/xxxxx/".files."/".$newname."}
    [/URL]<br>";
    
     echo "<b>Hotlink Forum 2</b><br>";
     echo "[url=http://ixxxxxxxm][img=http://wwwxxxxxxxxxxh/xxxxx/".files."/".$newname."][/url]<br>";
     }
     } 
     }
     else
     {
     echo "Bitte nur Bilder im Gif bzw. jpg Format hochladen";
     } 
    ?></center></td>
     </tr>
     </table>
     <p align="center">
    <A HREF="http://xxxxxxxxxx" target="_blank"><img src=http://img370.imageshack.us/img370/1xxx6/042fc.jpg></A>&nbsp;</p>
    </form> 
    </body> 
    </html>
    
     

  7. Videos zum Thema
    Video Script
Die Seite wird geladen...

Ähnliche Themen mit den Stichworten: erlaubte datein hochladen

  1. Antworten:
    38
    Aufrufe:
    8.562
  2. Antworten:
    60
    Aufrufe:
    4.896
  3. Antworten:
    11
    Aufrufe:
    5.101
  4. Antworten:
    5
    Aufrufe:
    2.260
  5. Erlaubtes Koffer- / Handgepäck
    -SYNeRGY-, 18. April 2011 , im Forum: Alltagsprobleme
    Antworten:
    5
    Aufrufe:
    813