Jump to content

[SOLVED] How do I make a subfolder inside of a folder?


pneudralics

Recommended Posts

Yes, the name of the directory goes in the path, how else would it know the directory name you're trying to create?

 

The reason for the error is because you need to escape the forward slashes, it's escaping the quote which creates an invalid argument.

 

mkdir("C:\\wamp\\www\\new_dir", 0700);

Archived

This topic is now archived and is closed to further replies.

×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.