note 104153 deleted from function.mkdir by crell

From: Date: Wed, 29 Jun 2022 19:19:10 +0000
Subject: note 104153 deleted from function.mkdir by crell
References: 1  Groups: php.notes 
Request: Send a blank email to php-notes+get-218722@lists.php.net to get a copy of this message
Note Submitter: nickcarenza at gmail dot com ---- If you are having trouble with the pathname, use: echo dirname( __FILE__ ); That will show you the pathname of the current script and you will be able to use that to see where you have to start your pathname. I tried forever to do mkdir('dirname') and was getting permission denied. I can see now its because it was trying to create that folder up at home when i wanted it down in public_html. I hope this saves someone some time.

« previous php.notes (#218722) next »