Sine PHP has so many string parsing functions, you can grab the text
betn.
<title>...</title>

e.g. HTML code:
<html>
....

..
</html>
Read the whole file by line into an array -
http://www.php.net/manual/en/function.file.php

search for line containing <title>....
for($lines as $onelineatatime) {
strpos($onelineatatime, "<title>")

remove <title> and </title>
substr()
> Hi,
>
> is it possible to get the HTML-Pagetitle with PHP?
>
> Thanks for help.
> Ivo
>
> --
> PHP General Mailing List (http://www.php.net/)
> To unsubscribe, visit: http://www.php.net/unsub.php
>

-Pushkar S. Pradhan


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

Reply via email to