separating strings from extensions

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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


[Index of Archives]     [PHP Home]     [Apache Users]     [PHP on Windows]     [Kernel Newbies]     [PHP Install]     [PHP Classes]     [Pear]     [Postgresql]     [Postgresql PHP]     [PHP on Windows]     [PHP Database Programming]     [PHP SOAP]

  Powered by Linux