Results 1 to 3 of 3

Thread: Another quick question.

  1. #1
    Join Date
    Feb 2006
    Posts
    158
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Default Another quick question.

    If i'm using a simple file upload script (something you can find just by googling), where the file upload process uses the move_uploaded_file to move the file into a folder "/uploads/". Do I need to go into my server manager and create the uploads folder before the file upload will work? Or will it make the folder for me the first time I use the script?

  2. #2
    Join Date
    Sep 2006
    Location
    St. George, UT
    Posts
    2,769
    Thanks
    3
    Thanked 157 Times in 155 Posts

    Default

    It all depends on the script. Some scripts will test to see if the folder is there and create (as well as chmod) if it does not exist already. Your best bet would be to create the folder and chmod it to the appropriate permissions before running the script.

    Hope this helps.
    "Computer games don't affect kids; I mean if Pac-Man affected us as kids, we'd all be running around in darkened rooms, munching magic pills and listening to repetitive electronic music." - Kristian Wilson, Nintendo, Inc, 1989
    TheUnlimitedHost | The Testing Site | Southern Utah Web Hosting and Design

  3. #3
    Join Date
    Jul 2006
    Location
    just north of Boston, MA
    Posts
    1,806
    Thanks
    13
    Thanked 72 Times in 72 Posts

    Default

    you are experienced enough, please use proper titles. If you need help you can review the Policies and Regulations when posting

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •