+ Reply to Thread
Results 1 to 5 of 5

Thread: move_uploaded_file() not working

  1. #1
    npicstore82 is offline x10Hosting Member npicstore82 is an unknown quantity at this point
    Join Date
    Oct 2011
    Posts
    4

    move_uploaded_file() not working

    move_uploaded_file() not working on server but in local host (xampp) it is working fine please help

  2. #2
    Dead-i's Avatar
    Dead-i is offline Community Advocate Dead-i has a spectacular aura about
    Join Date
    Aug 2011
    Location
    United Kingdom
    Posts
    1,448

    Re: move_uploaded_file() not working

    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).

  3. #3
    npicstore82 is offline x10Hosting Member npicstore82 is an unknown quantity at this point
    Join Date
    Oct 2011
    Posts
    4

    Re: move_uploaded_file() not working

    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

  4. #4
    Dead-i's Avatar
    Dead-i is offline Community Advocate Dead-i has a spectacular aura about
    Join Date
    Aug 2011
    Location
    United Kingdom
    Posts
    1,448

    Re: move_uploaded_file() not working

    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.
    Quote Originally Posted by Section 1: Server Usage
    * 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.

  5. #5
    misson is offline x10 Spammer misson is a jewel in the rough
    Join Date
    Mar 2008
    Location
    Libertatia
    Posts
    2,506

    Re: move_uploaded_file() not working

    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.

+ Reply to Thread

Similar Threads

  1. Cpanel is working.But site is not working...atleast reply
    By vijjiphaggi82 in forum Free Hosting
    Replies: 2
    Last Post: 05-06-2011, 03:08 AM
  2. Replies: 3
    Last Post: 02-11-2010, 02:09 PM
  3. website is not working but cpanel is working.
    By hosthost in forum Free Hosting
    Replies: 3
    Last Post: 02-11-2010, 08:55 AM
  4. Replies: 1
    Last Post: 03-15-2008, 04:54 PM

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
x10hosting free hosting for the masses
dedicated servers