note 30950 deleted from function.mkdir by aidan

From: Date: Sun, 03 Oct 2004 13:39:08 +0000
Subject: note 30950 deleted from function.mkdir by aidan
References: 1  Groups: php.notes 
Request: Send a blank email to php-notes+get-77834@lists.php.net to get a copy of this message
Note Submitter: someone at somewhere dot com ---- Just a quick note that i don't think is mentioned anywhere. If you are trying to make a directory with spaces and such: mkdir ('this is a directory', 0775); You do NOT need to escape the spaces yourself. Looks like PHP does this for you. You do however have to escape a backticked mkdir however: $makedir = mkdir this\ is\ a\ directory; Just thought i might help someone not spend 30 mins trying to figure out why their code doesn't work (like me :).

« previous php.notes (#77834) next »