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

Reply via email to