Re: Problems with upload
| From: | Jason Wong | Date: | Mon, 08 Mar 2004 16:40:00 +0000 |
| Subject: | Re: Problems with upload | ||
| References: | 1 2 3 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-179770@lists.php.net to get a copy of this message | ||
On Tuesday 09 March 2004 00:11, Martin Hjort Eriksen wrote:
> Here is some of the code I am using, to acces the uploaded file:
>
> if(!file_exists($_FILES['binFile']['tmp_name'])) {
> return "Filen ".$_FILES['binFile']['name']." kan ikke
> findes
> på serveren.<br />
> Er fejlen vedvarende, kontakt da venligst
> systemadministratoren.";
> }
So when you say "but the file that is uploaded is not present in the location
given by $_FILES['binFile']['tmp_name']", that is determined by the above
test?
If everything else in $_FILES looks OK, then the only thing I can think of
that might be the cause is if you're operating your webserver from a chroot
jail. I believe a similar problem cropped up before in the archives so you
may want to have a look there.
--
Jason Wong -> Gremlins Associates -> www.gremlins.biz
Open Source Software Systems Integrators
* Web Design & Hosting * Internet & Intranet Applications Development *
------------------------------------------
Search the list archives before you post
http://marc.theaimsgroup.com/?l=php-general
------------------------------------------
/*
Men are always ready to respect anything that bores them.
-- Marilyn Monroe
*/