basename()
| From: | Jeremy Morano | Date: | Mon, 20 Aug 2001 18:04:14 +0000 |
| Subject: | basename() | ||
| Groups: | php.general | ||
| Request: | Send a blank email to php-general+get-63542@lists.php.net to get a copy of this message | ||
Hello,
Can someone please show me how to use basename() correctly?
This is what I am doing:
$file = basename ($path);
$file = basename ($path,".php3");
This is the error I'm gettig:
Warning: Wrong parameter count for basename() in
/home/virtual/ppcu/home/httpd/html/jeremy/stats4.php on line 43