RE: [PHP] Problems with a file upload
| From: | Matt Williams | Date: | Fri, 10 Nov 2000 09:33:47 +0000 |
| Subject: | RE: [PHP] Problems with a file upload | ||
| References: | 1 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-24641@lists.php.net to get a copy of this message | ||
> > Name: \\php2
> > Original name: icq-info.txt
> > Size: 39
> > Type: text/plain
> >
> > Warning: Unable to open '\\php2' for reading: No such file or directory
> > in c:\program\apache...
> >
> > I obviously managed to pass the info about $userfile_name, _size and
> > _type, but what about the complete filepath? What is happening? Why does
> > "echo($userfile)" print "\\php2"?
For a more in depth explanation search the windows archives on this one. It
has come up loads of times.
Anyway, I found that changing the upload temp dir in php.ini to . works
fine.