Mailinglisten-Archive |
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