Re: Newbie file upload
| From: | Maxwell Hung | Date: | Mon, 12 Jun 2000 08:00:15 +0000 |
| Subject: | Re: Newbie file upload | ||
| Groups: | php.windows | ||
| Request: | Send a blank email to php-windows+get-400@lists.php.net to get a copy of this message | ||
This has been the topic of the last month.
If you're using 98/95 that is your problem.
I've only ever been able to upload with NT server
(although I haven't tried workstation)
Search the list for more details
M@X
--- MM <mcfadden@optonline.com> wrote: > Having
trouble with a a very straightforward script
> to upload a file.
>
> Form page takes file and puts it in "picture"
> Action is upload.php which
> consists of the following code:
>
> <?php
> copy($picture, "images/$picture_name");
> ?>
>
> I keep getting the following error message:
>
> "Unable to open 'c:\\windows\\TEMP\\php11' for
> reading: No such file or
> directory in
> C:\WEBSHARE\WWWROOT\learningPHP\upload.php on line
> 9"
>
> What's the problem here?
>
> Regards,
>
> Michael McFadden
>
>
>
>
>
>
> --
> PHP Windows Mailing List (http://www.php.net/)
> To unsubscribe, e-mail:
> php-windows-unsubscribe@lists.php.net
> For additional commands, e-mail:
> php-windows-help@lists.php.net
> To contact the list administrators, e-mail:
> php-list-admin@lists.php.net
>
__________________________________________________
Do You Yahoo!?
Yahoo! Photos -- now, 100 FREE prints!
http://photos.yahoo.com