Hi everybody! I write some PHP scripts for a system's module that allows the user to upload a file from his computer to the host. It works fine in a server with Linux Apache MySQL PHP (LAMP) environment. I based on the examples of this page:
http://www.php.net/manual/en/features.file-upload.php Las week we transfer the whole system to another server with the same environment, but now the uploaded files can't be viewed in the browser. That's because the file is uploaded with 640 permissions and can't be opened by the browser with a wwwrun user. We check in the old server and find that these uploaded files with 644 permissions. I check the httpd.conf and php.ini files looking for something like a umask option, but I find nothing like that. Can anyone tell me what can I do to solve this problem in the new server? We can't return to the old server anymore! Thanks a lot for your help! http://www.latinmail.com - La forma más cómoda de enviar y recibir tus e-mails
-- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php