Hi,
I've problems with a http-uploadscript. When I run the htmlfile and the
script replies an output of the filename but I can't find the file in
the destinationdirectory.
Why this can happen. Addes you can see the html-file and the script
Regards,
Ruprecht
<html>
<head>
<title></title>
<meta http-equiv="Content-Type" content="text/html;
charset=ISO-8859-15">
<meta name="GENERATOR" content="Quanta Plus">
</head>
<body>
<form action="upload_http.php" enctype="multipart/form-data">
<input type="hidden" name="MAX_FILE_SIZE" value=10000>
<p>Datei:<input type="file" name="userfile">
<input type="text" name="zielpfad" value="html"></p>
<input type="submit" value="hochladen">
<input type="reset" value="abbrechen">
</form>
</body>
</html>
<?
echo 'Dateiname: ';
echo $userfile;
//chdir('html');
move_uploaded_file($userfile,'html')
?>
--
PHP Database Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php