Do you have a question? Post it now! No Registration Necessary. Now with pictures!
- Posted on
- mkdir() in safe_mode
February 25, 2008, 2:29 pm
rate this thread
i encountered a weird problem on a server running php5, and apache.
Seems like i cannot create folders that end with "/".
mkdir("test/") will fail
mkdir("test") will work
Is there any issue with mkdir that i don`t know about? or safe_mode
affects this in any way?
The problem is that mkdir is called in lots of different places in the
application, and i`d prefer not to make another function just to strip
the last "/" from the paths...
- Captain Paralytic
February 25, 2008, 2:47 pm
- » [5.2.5] Alternative to include() to replace a string?
- — Previous thread in » PHP Scripting Forum