Hello and welcome to our community! Is this your first visit?
Register
Enjoy an ad free experience by logging in. Not a member yet? Register.
Results 1 to 4 of 4
  1. #1
    New to the CF scene
    Join Date
    Dec 2003
    Posts
    8
    Thanks
    0
    Thanked 0 Times in 0 Posts

    PHP & Upload script

    I'm running my own server and am using an upload script from zachwhite.com and have a few problems. In the config file it asks me for my absolute path for the downloads which is /www/htdocs/uploader/uploads/ - I assume this is correct?

    So I open up my page where the script is located, upload a file and check in my uploads folder to see if the file is there and it's not. I don't know whats going on, I've tried a few other similar scripts and have the same problems.

    My O/S is Windows XP Pro

  • #2
    Senior Coder
    Join Date
    Aug 2002
    Location
    Kansas City, Kansas
    Posts
    1,518
    Thanks
    0
    Thanked 2 Times in 2 Posts
    This sounds more like a php issue. Gonna move it over there.

  • #3
    Senior Coder
    Join Date
    Aug 2003
    Location
    One step ahead of you.
    Posts
    2,815
    Thanks
    0
    Thanked 3 Times in 3 Posts
    On Windows absolute paths start with something like "C:/"
    I'm not sure if this was any help, but I hope it didn't make you stupider.

    Experience is something you get just after you really need it.
    PHP Installation Guide Feedback welcome.

  • #4
    New Coder
    Join Date
    Dec 2005
    Posts
    36
    Thanks
    0
    Thanked 0 Times in 0 Posts
    What are you running on your server? Windows or Linux?
    If on Linux, is the folder owner same as the user that apache runs under (normally 'nobody' or 'apache')?
    If on Linux, are the permissions set correctly on the folder (normally all folders have permissions '755' on them)?


  •  

    Posting Permissions

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