i am using this code to get the extension of a filename:

$extension = strtolower(strrchr($fileName,"."));

how can i get the text BEFORE the . (period)

?

thanks in advance.

-e

--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php

Reply via email to