Hallo... Ich arbeite an einem Bildupload und hab ein Problem damit:
	
Das ist mein code. Naja, es tut sich nichts, es kommt weder ein Fehler, noch lädt er etwas hoch.
Was mach ich falsch?
					PHP-Code:
	
	
 if($_FILES['bild']['type']== "image/jpg")
            {
                $bilddann = GetImageSize($_POST['bild']);
                if($bilddann['0'] <= "200" && $bilddann['1'] <= "300")
                    {
                        echo $bilddann['4'];
                        @unlink("images/user/".$user_id.".jpg");
                        copy($bild,"images/user/".$user_id.".jpg"); // Kopiert das Bild
                    }
                    else
                    {
                        $error = "Das ausgewählte Bild ist größer als 200 x 300 pixel. Bitte bearbeite es und versuche es nochmal.";
                        eval ("\$main = \"".gettemplate("error")."\";");
                    } 
Was mach ich falsch?
 
          

 
							
						
Kommentar