move_uploaded_file() not working

npicstore82

New Member
Messages
4
Reaction score
0
Points
0
move_uploaded_file() not working on server but in local host (xampp) it is working fine please help
 

Dead-i

x10Hosting Support Ninja
Community Support
Messages
6,084
Reaction score
368
Points
83
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).
 

npicstore82

New Member
Messages
4
Reaction score
0
Points
0
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
 

Dead-i

x10Hosting Support Ninja
Community Support
Messages
6,084
Reaction score
368
Points
83
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.
Section 1: Server Usage said:
* File Storage: Accounts are not to be used for file storage, your account will be permenantly suspended if found to be breaking this rule. Downloads are only allowed on your x10Hosting account if they have to do directly with your website. e.g. you developed custom software and are selling it or giving it away. Accounts may not be used for mirrors, game file hosting, or any other type of file hosting not specified here.
 

misson

Community Paragon
Community Support
Messages
2,572
Reaction score
72
Points
48
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.
 
Top