|
|
|
#1 |
|
Messages: n/a
Hébergeur: |
Hy,
i encountered a weird problem on a server running php5, and apache. Seems like i cannot create folders that end with "/". for example: 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... |
|
|
|
#2 |
|
Messages: n/a
Hébergeur: |
On 25 Feb, 14:29, "_q_u_a_m_i_s's" <qua...@gmail.com> wrote:
> Hy, > i encountered a weird problem on a server running php5, and apache. > Seems like i cannot create folders that end with "/". > for example: > 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... Did you think of putting safe mode mkdir slash into Google and clicking "I'm Feeling Lucky"? |
|
|
|
#3 |
|
Messages: n/a
Hébergeur: |
On Feb 25, 4:47 pm, Captain Paralytic <paul_laut...@yahoo.com> wrote:
> On 25 Feb, 14:29, "_q_u_a_m_i_s's" <qua...@gmail.com> wrote: > > > Hy, > > i encountered a weird problem on a server running php5, and apache. > > Seems like i cannot create folders that end with "/". > > for example: > > 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... > > Did you think of putting > safe mode mkdir slash > into Google and clicking "I'm Feeling Lucky"? thx i only looked over the manual , and seemed pretty weird asmkdir() always worked on the test server.. ![]() |
|
![]() |
| Outils de la discussion | |
|
|