note 95042 deleted from function.basename by danbrown

From: Date: Thu, 10 Dec 2009 17:09:44 +0000
Subject: note 95042 deleted from function.basename by danbrown
References: 1  Groups: php.notes 
Request: Send a blank email to php-notes+get-163817@lists.php.net to get a copy of this message
Note Submitter: hm2k [spat] php.net ---- @swedish boy, try this... <?php $img = 'image.jpg'; $name=pathinfo($img,PATHINFO_FILENAME); echo $name; // outputs 'image' ?> Also see: http://tinyurl.com/ybwpnbr#pathinfo_filename.php

« previous php.notes (#163817) next »