Re: help with PHP upload needed

From: Date: Mon, 09 Jun 2003 10:56:35 +0000
Subject: Re: help with PHP upload needed
References: 1  Groups: php.mirrors 
Request: Send a blank email to php-mirrors+get-18599@lists.php.net to get a copy of this message
Please ask support questions at php-general@lists.php.net Goba Lorie i'rta:
Hi, sorry to disturb you, any way, I've got a problem, I was making file upload through php release 4.3.2 under windows with apache 1.3(what ever) (php is a module not a php.exe). So the problem is that files are not uploaded to the directory (dir) I want after single call to 'move_uploaded_file'. Php and Apache say, that everything is ok, file uploaded, but it is not in the temporary upload dir, nor in dir I want them to be. the second call to this function make everything the right way. I am not sure, but I think I already have such problem also with 'mkdir()' and file creation and delete. So I get bored - is this a windows problem or something else? So the code with 'move_uploaded_file' if(!move_uploaded_file($tmpName, $newDir.$newName))
    error();
Maybe you can tell me a resorce, where I can find an answer. sincerely yours,
                LorieCat.


« previous php.mirrors (#18599) next »