Thumbnails and Image Uploads
You want to create something where you need thumbnails and image upload, thats the right place to go:

Here a code example:
  <title> - Bild Upload</title>

if($_POST["action"] == "upload") {
  if(eregi(".jpg|.gif|.png$",$bild1_name.$bild2_name)) {
    if($bild1_size != 0 && $bild2_size != 0) {
      echo "<b>Die Dateien wurden erfolgreich gespeichert.</b><br><br>";
      echo "Größe: ".$bild1_size." Byte<br>";
      echo "Name: ".$bild1_name."<br>";
      echo "MIME-Type: ".$bild1_type."<br>";
      echo "<br>";
      echo '<img src="'.$bild1_name.'" border="0">'; 
      echo "<br><br>";
      echo "Größe: ".$bild2_size." Byte<br>";
      echo "Name: ".$bild2_name."<br>";
      echo "MIME-Type: ".$bild2_type."<br>";
      echo "<br>";
      echo '<img src="'.$bild2_name.'" border="0">'; 
    } else {
      echo "Ihre Datei ist gleich 0"; 
  } else {
    echo "Falsche Erweiterung: ".$bild1_name;
} else {
  <table border="0" cellpadding="0" cellspacing="0">
  <form action="<? echo $_SERVER["PHP_SELF"]; ?>" enctype="multipart/form-data" method="POST">
  <input type="hidden" name="action" value="upload">
    <td>Bild 1</td>
    <td><input type="file" name="bild1"></td>
    <td>Bild 2</td>
    <td><input type="file" name="bild2"></td>
    <td> </td>
    <td><input type="submit" value="Upload"></td>
admin / Dec 01, 2004
2004 - 2019 /