$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
> 
> 
> 



-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
To contact the list administrators, e-mail: [EMAIL PROTECTED]

Reply via email to