onlyican Posted November 14, 2006 Share Posted November 14, 2006 This is probs a stupid thing, but I am tired, and cant be botheredAnywayI have a class which checks and image and uploads itNot a problemI have been working on my local machine building this, and I uploaded it today ready for the client, so I did not have permission problems on my machineanywayI am running the functionis_writableon the directoryThe directory is from the rootSomething like/home/MyAccount/public_html/MainFolder/SubFolder/sub_subFolderThe script is telling me that the direcotory is NOT writableI have set the chmod to 777 on sub_subFolder and SubFolderit still came upSo I changed the code to read if(!is_writable){//Continue}else{//Error}To bypass this, to check if it was the functionbut then the code failed to upload to the dir using functionimagepng()Any ideas on this one Link to comment https://forums.phpfreaks.com/topic/27211-dir-not-writable-solved/ Share on other sites More sharing options...
onlyican Posted November 14, 2006 Author Share Posted November 14, 2006 Dont worry guysI had a slight typo in the Directoryone of the folder was spelt wrong, so the folder did not exists Link to comment https://forums.phpfreaks.com/topic/27211-dir-not-writable-solved/#findComment-124433 Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.