note 25662 added to function.strrchr

From: Date: Tue, 01 Oct 2002 20:46:35 +0000
Subject: note 25662 added to function.strrchr
Groups: php.notes 
Request: Send a blank email to php-notes+get-37483@lists.php.net to get a copy of this message
this functions returns the name of the current directory. <? function current() $a= pwd; echo $a; $o=strrchr ( $a, "/");// saca todo desde el ultimo "/" $e=substr($o,1,strlen($o));// paar sacarle el ultimo slash tambien return($e); ?> -- http://www.php.net/manual/en/function.strrchr.php http://master.php.net/manage/user-notes.php?action=edit+25662 http://master.php.net/manage/user-notes.php?action=delete+25662 http://master.php.net/manage/user-notes.php?action=reject+25662

« previous php.notes (#37483) next »