loquela Posted October 23, 2008 Share Posted October 23, 2008 This follows on from my recent post that was quickly resolved by Aaron: http://www.phpfreaks.com/forums/index.php/topic,222505.0.html Cheers Aaron. If you are around I have a follow up that I should have anticipated... I now need to know how I can get my script to upload files to my secure folder outside document root....? Many thanks in advance. Quote Link to comment Share on other sites More sharing options...
DarkWater Posted October 23, 2008 Share Posted October 23, 2008 Well, firstly, do you know how to upload files? Quote Link to comment Share on other sites More sharing options...
discomatt Posted October 23, 2008 Share Posted October 23, 2008 Simply set the permissions on the folder to PHP has access to it, and use absolute paths when copy()ing or move_uploaded_file()ing. Quote Link to comment Share on other sites More sharing options...
loquela Posted October 23, 2008 Author Share Posted October 23, 2008 Thanks discomatt, I thought there might be more to it than that. Sorted. Quote Link to comment Share on other sites More sharing options...
Cardale Posted August 10, 2009 Share Posted August 10, 2009 Actually it still isn't possible. Your better off executing a command with the exec command. Quote Link to comment 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.