Oh yes, I dont like warnings.  Thanks for pointing that out

Renze Munnik wrote:
> On Mon, Aug 20, 2001 at 03:42:34PM -0400, Gerard Samuel wrote:
> 
>>$file = basename ($path);
>>$file = $file.php3;
>>
>>
> 
> You might want to consider using,
> 
> $file = basename ($path);
> $file = "$file.php3";         // <-- !
> 
> instead, if you don't like warnings.
> 
> $file = $file.php3
> 
> isn't the way to do it! You _could_ use
> 
> $file = $file.".php3";
> 
> though.
> 
> 



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