i am a newbie in the field of web development, i am trying to create a folder using php's mkdir() command...
when i use...
mkdir("somefolder");
it works...
i had tried
mkdir("/somefolder/".$id."/photos");
but it won't work....i think i am doing it wrong how do i do this...
well the $id is coming from the database so that folder for each user will be created
Any help will be greatly appriciated...
thank you in advance...
EDIT
mkdir($id);
does creates a folder but above mentioned doesn't....
if somefolder is already there.. then mkdir won't work....?