jreed2132 Posted August 18, 2009 Share Posted August 18, 2009 I'm used to allowing a PHP script on a windows box but I'm not sure what to do to allow a php script to upload a file a specific folder on a linux box. I've tried a couple scripts that I found on that net that worked on a windows box which I figured out how to grant rights through. But I'm not sure what rights or how to allow a folder on a linux box to have files uploaded to. Do I need to do anything with Apache? Any ideas? Quote Link to comment https://forums.phpfreaks.com/topic/170837-solved-allowing-php-script-to-upload-file-to-a-folder/ Share on other sites More sharing options...
wildteen88 Posted August 18, 2009 Share Posted August 18, 2009 You just need to set the correct write permissions for the folder you're uploading the file to. Quote Link to comment https://forums.phpfreaks.com/topic/170837-solved-allowing-php-script-to-upload-file-to-a-folder/#findComment-901173 Share on other sites More sharing options...
jreed2132 Posted August 19, 2009 Author Share Posted August 19, 2009 What user do I give access to? is there typically an annonymous user? Quote Link to comment https://forums.phpfreaks.com/topic/170837-solved-allowing-php-script-to-upload-file-to-a-folder/#findComment-902013 Share on other sites More sharing options...
corbin Posted August 19, 2009 Share Posted August 19, 2009 You just need to set write permissions on the folder for the user PHP is running under. Quote Link to comment https://forums.phpfreaks.com/topic/170837-solved-allowing-php-script-to-upload-file-to-a-folder/#findComment-902123 Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.