Re: substr?

From: Date: Thu, 19 Jun 2008 17:53:58 +0000
Subject: Re: substr?
References: 1 2 3 4  Groups: php.general 
Request: Send a blank email to php-general+get-275633@lists.php.net to get a copy of this message
Does that get a different result than mine? ~Phil On Jun 19, 2008, at 10:44 AM, Daniel Brown wrote:
Try this: <?php $filename = 'this_example.php.file.backup.phps'; echo substr($filename,(strrpos($filename,'.') + 1),strlen($filename))."\n"; ?>


« previous php.general (#275633) next »