NYCPHP Meetup

NYPHP.org

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

web dream works wdw wdwtest at gmail.com
Sun Aug 5 09:21:24 EDT 2007


Hello Friends,

I have installed Windows 2003 sever and then installed PHP 4.3.4 on it.
I have a problem that file is not uploading to the specified directory on
the server ( locally windows 2003 ). I am using the file upload code in php
like :

<? if ($_FILES['filefield']['name'] != ""){

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

}
?>


The settings in the php.ini files are correct.

Can anyone guide me what should be the problem, so that the files are not
uploading to the server.

Looking forward to here from you soon.
Thanks
Wdw.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.nyphp.org/pipermail/talk/attachments/20070805/a6a3242d/attachment.html>


More information about the talk mailing list