Page 1 of 1

Uploading files with PHP script

Posted: Mon Jul 24, 2006 6:11 am
by Zoran_Dimov
I am trying to upload files with PHP script, but there are some problems.
$_FILES[..] variables don't work. Is there any alternative way to get the filename variables from the HTML form.

I have set up the temponary upload dir in PHP.INI, and it exist.

Thanks

Posted: Mon Jul 24, 2006 7:36 am
by thiscatis
If it doesn't work I presume there's something wrong with your code.
Code you perhaps give us the error message?

Have a look at this tutorial that Daedalus- posted in an older topic:

http://www.tizag.com/phpT/fileupload.php