NYCPHP Meetup

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

Christopher M Mancini mancinic at gmail.com
Sun Aug 5 10:26:39 EDT 2007


Do you have the correct permissions setup for the directory you are
uploading to?

Chris

On 8/5/07, web dream works wdw <wdwtest at gmail.com> wrote:
>
> 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.
>
> _______________________________________________
> New York PHP Community Talk Mailing List
> http://lists.nyphp.org/mailman/listinfo/talk
>
> NYPHPCon 2006 Presentations Online
> http://www.nyphpcon.com
>
> Show Your Participation in New York PHP
> http://www.nyphp.org/show_participation.php
>



-- 
<-------------------------
Sincerely,
Christopher M Mancini
mancinic at gmail.com
http://blog.itrealm.net
-------------------------->
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.nyphp.org/pipermail/talk/attachments/20070805/f5df3b4d/attachment.html>


More information about the talk mailing list