note 28473 added to function.dirname

From: Date: Tue, 14 Jan 2003 13:02:17 +0000
Subject: note 28473 added to function.dirname
Groups: php.notes 
Request: Send a blank email to php-notes+get-42120@lists.php.net to get a copy of this message
Code for write permissions check: error_reporting(E_ALL); $dir_name = '/var/www/virtual/phpintra/htdocs/php/'; do { $b_is_writable = is_writable($dir_name); echo sprintf("Dir[%s]Writable[%s]\n", $dir_name, $b_is_writable? 'YES':'NO'); }while (($dir_name = dirname($dir_name)) !='/'); -- http://www.php.net/manual/en/function.dirname.php http://master.php.net/manage/user-notes.php?action=edit+28473 http://master.php.net/manage/user-notes.php?action=delete+28473 http://master.php.net/manage/user-notes.php?action=reject+28473

« previous php.notes (#42120) next »