SitePoint Sponsor |
|
User Tag List
Results 1 to 4 of 4
-
Aug 16, 2001, 15:48 #1
- 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
-
Sep 6, 2001, 02:13 #2
- 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.
-
Sep 6, 2001, 02:52 #3
- Join Date
- Sep 2001
- Location
- Karlsruhe / Germany
- Posts
- 5
- Mentioned
- 0 Post(s)
- Tagged
- 0 Thread(s)
yeah - look here:
http://www.sitepointforums.com/showt...426#post239057signature
-
Sep 6, 2001, 03:40 #4
- Join Date
- Apr 2001
- Location
- My Computer
- Posts
- 2,808
- Mentioned
- 0 Post(s)
- Tagged
- 0 Thread(s)
wrong post number
http://www.sitepointforums.com/showt...920#post238920
Bookmarks