phpbar.de logo

Mailinglisten-Archive

[php] =?iso-8859-1?Q?Re:_=5Bphp=5D_Re:_=5Bphp=5D_regul=E4re_Ausdr=FCcke_=28mal_?= =?iso-8859-1?Q?was_anderes=29?= =?iso-8859-1?Q?was_anderes=29?=

[php] =?iso-8859-1?Q?Re:_=5Bphp=5D_Re:_=5Bphp=5D_regul=E4re_Ausdr=FCcke_=28mal_?= =?iso-8859-1?Q?was_anderes=29?= =?iso-8859-1?Q?was_anderes=29?=

Thomas Heller maniax_(at)_north.de
Wed, 1 Sep 1999 19:12:45 +0200


Moin Moin!

>     $file = 'dateiname.html';
> 
>     /* Read file content */
>     $fd = fopen($file,'r');
>     $contents = fread($fd, filesize($file));
>     fclose($fd);
> 
>     /* Discard unwanted parts */
>     $contents = eregi_replace('^.*<BODY[^>]*>', '', $contents);
>     $contents = eregi_replace('</BODY>.*$', '', $contents);
> 
> Ich hoffe, das tut's ...

Das tuts! Danke dir!

mfg 
Thomas



php::bar PHP Wiki   -   Listenarchive