Hi,
I have a folder structure as follows,
D(drive)>xampp>htdocs>A>B>C>D
I have the php file which creates the new folder in folder A.
Every time a new person registers on my site, I want to create new folder and sub folder within folder D, like D(drive)>xampp>htdocs>A>B>C>D>E>F
$logPath = 'D:/xampp/htdocs/A/B/C/D/';
mkdir("B/C/D/".$E."/".$F);
the above code gives a following error,
Warning: mkdir() [function.mkdir]: No such file or directory in D:\xampp\htdocs\A\register.php on line 77
However, if i write just this, it works fine
$logPath = 'D:/xampp/htdocs/A/B/C/D/';
mkdir("B/C/D/".$E);
Can anybody out there help me out with this pls?
Thanks
Puvi