Date: 07/11/01
- Next message: Chris Lambert - WhiteCrown Networks: "Re: [PHP] Getting the title of a web page"
- Previous message: Henrik Hansen: "Re: [PHP] Re: http referer"
- Maybe in reply to: Heiko Wilms: "[PHP] Getting the title of a web page"
- Next in thread: Chris Lambert - WhiteCrown Networks: "Re: [PHP] Getting the title of a web page"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
<?
$f = fopen($fileName, 'r');
$s = fread($f, 1024);
fclose($f);
$pageTitle = eregi_replace('.*<title>', '',
eregi_replace('</title>.*', '', $s));
?>
> -----Original Message-----
> From: Heiko Wilms [mailto:wilms <email protected>]
> Sent: 11 iulie 2001 13:32
> To: php-general <email protected>
> Subject: [PHP] Getting the title of a web page
>
>
> Hi,
>
> when I open a web page within my php-script with fopen(...) I
> only want
> to get back the title of the page. How can I do this?
>
> Heiko
>
> --
> PHP General Mailing List (http://www.php.net/)
> To unsubscribe, e-mail: php-general-unsubscribe <email protected>
> For additional commands, e-mail: php-general-help <email protected>
> To contact the list administrators, e-mail:
> php-list-admin <email protected>
>
>
-- PHP General Mailing List (http://www.php.net/) To unsubscribe, e-mail: php-general-unsubscribe <email protected> For additional commands, e-mail: php-general-help <email protected> To contact the list administrators, e-mail: php-list-admin <email protected>
- Next message: Chris Lambert - WhiteCrown Networks: "Re: [PHP] Getting the title of a web page"
- Previous message: Henrik Hansen: "Re: [PHP] Re: http referer"
- Maybe in reply to: Heiko Wilms: "[PHP] Getting the title of a web page"
- Next in thread: Chris Lambert - WhiteCrown Networks: "Re: [PHP] Getting the title of a web page"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]

