note 91185 deleted from function.is-file by danbrown

From: Date: Fri, 29 May 2009 02:22:03 +0000
Subject: note 91185 deleted from function.is-file by danbrown
References: 1  Groups: php.notes 
Request: Send a blank email to php-notes+get-156134@lists.php.net to get a copy of this message
Note Submitter: krishan dot rodrigo at gmail dot com ---- RE: Solution for getting the file extension by Guilherme This gives the extension with a . in it. eg '.jpg' Use the following to get just the extension without the dot in it $extension = substr($file_name, strrpos($file_name, ".")+1);

« previous php.notes (#156134) next »