hi,
i tried to upload files with ftp, but it didnt work, so i found s.th. in the manual, about the upload with a form and then sending it to a php file.
i tried it, but i wouldnt get any results,
heres my code:
<FORM ENCTYPE="multipart/form-data" ACTION="ftp2.php" METHOD=POST>
<INPUT TYPE="hidden" name="MAX_FILE_SIZE" value="1000">
Send this file: <INPUT NAME="userfile" TYPE="file">
<INPUT TYPE="submit" VALUE="Send File">
...now, u should be able to ask for the $userfile in the ftp2.php file, but it doesnt matter which file i select, it allways has value="none"!
...when i enter a file, like this:
"F:\test.gif"
it says $userfile="none"
failed to copy no file or dir called test.gif on server!
i mean its sure, that he doesnt find it on the server, thats why io try to copy it, but it wont work!!!
but when i enter a file like:
"F:/test.gif"
it just says $userfile="none", but i wouldnt get any error messages, but no file is copied either!
this is really weird, could W2k be the problem?
thx for answers,
Duncan McLord