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. Link to comment https://forums.phpfreaks.com/topic/136460-unable-to-upload-file/ 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. Link to comment https://forums.phpfreaks.com/topic/136460-unable-to-upload-file/#findComment-712254 Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.