Martin Hudec <[EMAIL PROTECTED]> wrote... :

> Hello,
> 
> i have document in html and i want to get out string between <title>
> tags to put it into another variable..
> 
> i am wondering if i could use eregi() here....but how? I cant figure
> out any possible way... same with strchr() and strstr()

all these functions can work. Though, you will need to get the
document's contents into a variable of your script so you can perform a
preg_match()/ereg()/strstr() on that string variable. I believe this is
what you missed out.

--
Maxim Maletsky
[EMAIL PROTECTED]



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

Reply via email to