phplearner2008 Posted December 11, 2008 Share Posted December 11, 2008 Dear all, I have a php script for uploading a file. But when I tried to upload, I am getting a warning : function.copy failed to open stream: HTTP wrapper does not support writeable conditions in uploadPhoto.php. I have Windows XP / Apache / MySQL combination. I understand that I should give permission to the directory where the uploaded files are to be stored. Can anyone tell me in steps how I can change permissions in apache/Windows XP combination. Thank you. Quote Link to comment Share on other sites More sharing options...
PFMaBiSmAd Posted December 11, 2008 Share Posted December 11, 2008 You are trying to write/copy a file using a URL. You cannot do that with the http:// protocol. You should be using a file system path. Post your code to get more specific help with what it is doing. 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.