hi...

i have the following...

$file = "tttt.txt";

ereg("(\.)([a-z0-9]{3,5})$", $file, $regs);
echo " ww = ".$regs. "<br><br>";


i'm trying to figure out how to get the portion of the regex that's the
"extension" of the file. my understanding of the docs, says that the
"extension" should be in the $reg array....

any ideas/comments on where my mistake is would be appreciated...

thanks

-bruce

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

Reply via email to