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 */ -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php