SitePoint Sponsor

User Tag List

Results 1 to 4 of 4
  1. #1
    SitePoint Member
    Join Date
    Jul 2001
    Posts
    21
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    PHP - open_basedir - Uplaods notworking

    Hello to all PHP Gurus,

    My provider just changed the php.ini values and added to "OPEN_BASEDIR" the value "/home/www". They said they must do this for security reasons. And they aren't looking to solve my problem.

    Since they changed the value, I cannot upload files to my database and my forum application is hurting because of it. The problem, as I understand it, is PHP is storing the uploaded file somewhere else /tmp. And when the script wants to get the file it looks for it in /home/www. I also read that the directories should be seperated with a colon. Does that mean that the value should look like ":home:www" or like this "/home/www:/home/someotherdirectory"?

    Can somebody tell me if my provider is full of it or if they're right but have done the wrong thing. Or maybe there's a way to work around this. I need my uploads!

    Thanx,

    Scott

  2. #2
    SitePoint Wizard Defender1's Avatar
    Join Date
    Apr 2001
    Location
    My Computer
    Posts
    2,808
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    there is a way around this.
    check out my post about SAFE MODE. it's in this forum somewhere.
    Defender's Designs
    I'm Getting Married!

    Not-so-patiently awaiting Harry Potter Book 7 *sigh*

  3. #3
    SitePoint Member Netbuilder's Avatar
    Join Date
    Sep 2001
    Location
    Karlsruhe / Germany
    Posts
    5
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    signature

  4. #4
    SitePoint Wizard Defender1's Avatar
    Join Date
    Apr 2001
    Location
    My Computer
    Posts
    2,808
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Defender's Designs
    I'm Getting Married!

    Not-so-patiently awaiting Harry Potter Book 7 *sigh*


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
  •