Actually, that does work when I'm using a string with that content.  The 
only thing I can figure is that there is a problem with the way the the 
file is being read.  Hmm.

Ah, well.  I'll make it work.  Where's my hammer?

At 12:18 AM 11/15/2001, Johan Holst Nielsen wrote:
>Richard S. Crawford wrote:
> > Not quite.  I have the same problem.
>I tried at test on my localhost. Following works for me:
>$string = "<html><head><title>Sometime i dont wanna
>if(eregi("<title>(.+)</title>", $string, $arr)) {
>    echo "Title: ".$arr[1];
>else {
>    echo "unknown title";
>This works for me?
>PHP General Mailing List (
>To unsubscribe, e-mail: [EMAIL PROTECTED]
>For additional commands, e-mail: [EMAIL PROTECTED]
>To contact the list administrators, e-mail: [EMAIL PROTECTED]

Richard S. Crawford
AIM: Buffalo2K   ICQ: 11646404  Y!: rscrawford
"It is only with the heart that we see rightly; what is essential is 
invisible to the eye."  --Antoine de Saint Exupéry

"Push the button, Max!"

PHP General Mailing List (
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
To contact the list administrators, e-mail: [EMAIL PROTECTED]

Reply via email to