note 72278 added to function.is-dir
| From: | kazzarola at hotmail dot com | Date: | Wed, 10 Jan 2007 21:26:15 +0000 |
| Subject: | note 72278 added to function.is-dir | ||
| Groups: | php.notes | ||
| Request: | Send a blank email to php-notes+get-121543@lists.php.net to get a copy of this message | ||
I've spent many time to make this function work on my php pages, but I've found a
solution:
$dira= "/domains/yoursite.it/public_html/path/to/your/directory/";
$dirb = $_SERVER["DOCUMENT_ROOT"] . "/path/to/your/directory/";
clearstatcache();
if(!is_dir($dirb)){ftp_mkdir($conn_id,$dira);}
I'm a newbie... so sorry if the solutions is different and more simple, but I've found
this...
----
Server IP: 80.241.173.254
Probable Submitter: 80.104.181.60
----
Manual Page -- http://www.php.net/manual/en/function.is-dir.php
Edit -- https://master.php.net/note/edit/72278
Del: integrated -- https://master.php.net/note/delete/72278/integrated
Del: useless -- https://master.php.net/note/delete/72278/useless
Del: bad code -- https://master.php.net/note/delete/72278/bad+code
Del: spam -- https://master.php.net/note/delete/72278/spam
Del: non-english -- https://master.php.net/note/delete/72278/non-english
Del: in docs -- https://master.php.net/note/delete/72278/in+docs
Del: other reasons-- https://master.php.net/note/delete/72278
Reject -- https://master.php.net/note/reject/72278
Search -- https://master.php.net/manage/user-notes.php