newbie69 Posted November 20, 2007 Share Posted November 20, 2007 Hi i have cms which i developed and its working perfect locally. There's page that allows the user to upload a image. This works perfectly locally but not online. I suspecting its the path: this is the statement i use to specify the path of where images should be uploaded? $path = SITE_DOCUMENT_ROOT."/images/speakers/"; this is what $path contains Locally: "C:\pws\csi2008/images/speakers/" on the web: "/home/tenakaci/public_html/csi2008/images/speakers/" Would someone know why it doesnt upload online? Quote Link to comment Share on other sites More sharing options...
rajivgonsalves Posted November 20, 2007 Share Posted November 20, 2007 you would have to set the permission to the directory online set it to 777 or 755 which ever is applicable through ftp or ssh Quote Link to comment Share on other sites More sharing options...
newbie69 Posted November 21, 2007 Author Share Posted November 21, 2007 thanks, its seem my error emanating from another issue. But thanks a lot for the post, I'll learn t something new:) 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.