NYCPHP Meetup

[nycphp-talk] Files are not uploading on Windows 2003 sever using PHP code

Matteo Rinaudo matteo.rinaudo at gmail.com
Sun Aug 5 11:00:53 EDT 2007


> @copy($_FILES['filefield']['tmp_name'],"../dir1/".$_FILES['filefield']['name']);

Hi,
Try to strip off the `@' before the `copy' function and see the error
that PHP raises. If your php.ini configuration does not allow you to
see PHP warnings or errors, make sure the PHP errors are logged into
the Apache's error_log (or whatever) file and take a look at that.

Matteo



More information about the talk mailing list