Re: basename()
| From: | Gerard Samuel | Date: | Mon, 20 Aug 2001 19:42:34 +0000 |
| Subject: | Re: basename() | ||
| References: | 1 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-63560@lists.php.net to get a copy of this message | ||
$file = basename ($path);
$file = $file.php3;
Jeremy Morano wrote:
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