Re: handling files error

From: Date: Thu, 23 Jan 2003 13:04:33 +0000
Subject: Re: handling files error
References: 1 2  Groups: php.general 
Request: Send a blank email to php-general+get-132811@lists.php.net to get a copy of this message
Thanks, but just a little part of the problem was solved. the other part is: why php doesn´t move the upload file to the specified directory, with move_uploaded_file? ----- Original Message ----- From: "Marek Kilimajer" <kilimajer@webglobe.sk> To: "Gilberto Garcia Jr." <garcia@ensino.net> Cc: "PHP" <php-general@lists.php.net> Sent: Thursday, January 23, 2003 10:36 AM Subject: Re: [PHP] handling files error > None of the uploaded files is executable, even if it is some .exe or > shell script, simply it does not have the permission to execute. > $userfile_name is only the name of the file as it was on the client's > machine, there is no such file on your filesystem (unless you create it) > > Gilberto Garcia Jr. wrote: > > >Hey guys, > > > >I have a red hat 7.3 server running apache and php4. It all seems working fine, but when I try to upload a file through a form I got nothing. I mean, I can ouput the temp name of the file, the final name, size and other stuff. but some functions don´t work. > > > >Like > > > >If (!is_executable($userfile_temp)) -> this don´t block executables files. > > > >if I change to If (!is_executable($userfile_name)) -> it´s point me that all files is executable. > > > >and when i try to move the file from /tmp directory to another directory with move_upload_file function. This func. doesn´t do anything, and doesn´t move the file to the specified directory > > > >any help are welcome > > > >[]´s > >Iced Sun > > > > > > > > > -- > PHP General Mailing List (http://www.php.net/) > To unsubscribe, visit: http://www.php.net/unsub.php > >

« previous php.general (#132811) next »