|
Posted by Juliette on 11/23/05 12:57
Darren wrote:
> I am trying to create a folder in a directory one level up on a Linux
> based Apache server from the file containing the following line.
>
>
> The followin line doesn't seem to achieve this.
>
> mkdir("./members_pics/"."$subscr_id"."/", 0700);
>
> Any ideas what is wrong.
>
Well to start.. you are not actually going one dir up, you are staying
in the same dir.
.../ means 1 up
../ means this dir
So try this:
mkdir('../members_pics/'. $subscr_id . '/', 0700);
I've adjusted the quoting a bit to make it more readable (IMHO).
Grz, Jrf
Navigation:
[Reply to this message]
|