note 72278 deleted from function.is-dir by philip
| From: | philip@php.net | Date: | Sun, 25 Feb 2007 08:15:18 +0000 |
| Subject: | note 72278 deleted from function.is-dir by philip | ||
| References: | 1 | Groups: | php.notes |
| Request: | Send a blank email to php-notes+get-123844@lists.php.net to get a copy of this message | ||
Note Submitter: kazzarola at hotmail dot com
----
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...