Been Using this Function for some time and works real well with two
exceptions
1. if the title line has a CR in it it will no get the title
Example: titleThis is a bad
Title/title
2. If there are any other tags in the title it will fail.
?
function title($file)
{
Thanks to everyone who helped me figure this out.
I foolishly didn't realize that I was using the htmlspecialchars() function
on the string that I was pulling from the file, but not accounting for that
in the regexp. So, what I was getting was:
lt;titlegt;BLAH BLAH
2 matches
Mail list logo