Ik wil dat dit script een bepaald onderdeel tussen 2 stukken uit een pagina haalt.
[COLOR= #0000BB]<?php
$url[/COLOR] [COLOR= #007700]=[/COLOR] [URL="http://www.php.net/file_get_contents"]file_get_contents[/URL][COLOR= #007700]([/COLOR][COLOR= #DD0000]"http://www.jesite.ext"[/COLOR][COLOR= #007700]);[/COLOR]
[COLOR= #0000BB]$begin[/COLOR] [COLOR= #007700]=[/COLOR] [COLOR= #DD0000]"Blaat1"[/COLOR][COLOR= #007700];[/COLOR]
[COLOR= #0000BB]$einde[/COLOR] [COLOR= #007700]=[/COLOR] [COLOR= #DD0000]"Blaat2"[/COLOR][COLOR= #007700];[/COLOR]
[COLOR= #0000BB]$resultaat[/COLOR] [COLOR= #007700]=[/COLOR] [COLOR= #DD0000]""[/COLOR][COLOR= #007700];[/COLOR] [COLOR= #FF8000]//Hier moet het gebeuren ik denk met eregi()[/COLOR]
[URL="http://www.php.net/echo"]echo[/URL] [COLOR= #0000BB]$resultaat[/COLOR][COLOR= #007700];[/COLOR]
?>
)
Je hakt het in stukjes bij elke blaat1, en vanaf dan zoek je alleen nog in het tweede stuk (dus vanaf de eerste blaat1).
