note 36059 deleted from function.stristr by didou

From: Date: Wed, 24 Sep 2003 13:31:17 +0000
Subject: note 36059 deleted from function.stristr by didou
References: 1  Groups: php.notes 
Request: Send a blank email to php-notes+get-57043@lists.php.net to get a copy of this message
Note Submitter: phploser@sitemaker.com.au ---- to get an extention why not just use $fileName = "somedamefile.jpg"; $fileArr = explode('.',$fileName); $fileExt = $fileArr[(sizeof($fileArr)-1)]; echo($fileExt);

« previous php.notes (#57043) next »