move_uploaded_file() not working on server but in local host (xampp) it is working fine please help
move_uploaded_file() not working on server but in local host (xampp) it is working fine please help
Are you using x10Hosting, x10Premium or x10VPS? If you're using x10Hosting, then why do you need an upload script anyway since it is against the TOS to be a file hosting site? If you're using x10VPS, then check your file and folder permissions are correct (755).
I am using x10hosting (free) I tried free to check that my script is working. I made a pic store i.e. users can store there pictures and have access to it by just log in. If this is not in tos then let me know i will remove it.
By the way I am using 744 file permission.
Thank you
Try setting the destination folder to 755, and the script that is trying to do it to 644. If that doesn't work, try setting the script to 755.
Also, if your website is File Hosting then it is against the Terms of Service.
Originally Posted by Section 1: Server Usage
What, exactly, do you mean by "not working"? The phrase "not working" tells us almost nothing. Make sure you follow the advice in my sig.
Be sure to read all pages linked in this post; they have further information that should prove useful. When asking for help, make sure you follow Eric Raymond's and Jon Skeet's guidelines for prompt, accurate responses. Please answer any questions I ask; they're not rhetorical (probably). Any posted code is intended as illustrative example, rather than a solution to your problem to be copied without alteration. Study it to learn how to write your own solution.Misson, not Mission.