Ja oké.. Maar wat als er echt extreem veel berichten zijn? dan worden sommige berichten dus niet weergeven?




Heb je een voorbeeldje?

Heel erg bedankt alvast![COLOR= #0000BB]<?php
$file[/COLOR] [COLOR= #007700]=[/COLOR] [COLOR= #DD0000]cache.ch[/COLOR][COLOR= #007700];[/COLOR]
[COLOR= #0000BB]$tmpfile[/COLOR] [COLOR= #007700]=[/COLOR] [COLOR= #DD0000]cache_temp.ch[/COLOR][COLOR= #007700];[/COLOR]
[URL="http://www.php.net/if"]if[/URL][COLOR= #007700]([/COLOR][URL="http://www.php.net/filemtime"]filemtime[/URL][COLOR= #007700]([/COLOR][COLOR= #0000BB]$file[/COLOR][COLOR= #007700]) <[/COLOR] [URL="http://www.php.net/time"]time[/URL][COLOR= #007700]() -[/COLOR] [COLOR= #0000BB]2[/COLOR] [COLOR= #007700]&& ![/COLOR][URL="http://www.php.net/file_exists"]file_exists[/URL][COLOR= #007700]([/COLOR][COLOR= #0000BB]$tmpfile[/COLOR][COLOR= #007700]))
{[/COLOR]
[COLOR= #0000BB]$fp[/COLOR] [COLOR= #007700]=[/COLOR] [URL="http://www.php.net/fopen"]fopen[/URL][COLOR= #007700]([/COLOR][COLOR= #0000BB]$tmpfile[/COLOR][COLOR= #007700],[/COLOR] [COLOR= #DD0000]w[/COLOR][COLOR= #007700]);[/COLOR]
[COLOR= #0000BB]$shit[/COLOR] [COLOR= #007700]=[/COLOR] [COLOR= #DD0000]inhoud van t bestand[/COLOR][COLOR= #007700];[/COLOR]
[URL="http://www.php.net/fwrite"]fwrite[/URL][COLOR= #007700]([/COLOR][COLOR= #0000BB]$fp[/COLOR][COLOR= #007700],[/COLOR] [COLOR= #0000BB]$shit[/COLOR][COLOR= #007700]);[/COLOR]
[URL="http://www.php.net/fclose"]fclose[/URL][COLOR= #007700]([/COLOR][COLOR= #0000BB]$fp[/COLOR][COLOR= #007700]);[/COLOR]
[URL="http://www.php.net/unlink"]unlink[/URL][COLOR= #007700]([/COLOR][COLOR= #0000BB]$file[/COLOR][COLOR= #007700]);[/COLOR]
[URL="http://www.php.net/rename"]rename[/URL][COLOR= #007700]([/COLOR][COLOR= #0000BB]$tmpfile[/COLOR][COLOR= #007700],[/COLOR] [COLOR= #0000BB]$file[/COLOR][COLOR= #007700]);[/COLOR]
[URL="http://www.php.net/echo"]echo[/URL] [COLOR= #0000BB]$shit[/COLOR][COLOR= #007700];
}[/COLOR]
[URL="http://www.php.net/else"]else[/URL]
[COLOR= #007700]{[/COLOR]
[URL="http://www.php.net/if"]if[/URL][COLOR= #007700]([/COLOR][URL="http://www.php.net/file_exists"]file_exists[/URL][COLOR= #007700]([/COLOR][COLOR= #0000BB]$file[/COLOR][COLOR= #007700]))[/COLOR]
[URL="http://www.php.net/echo"]echo[/URL] [URL="http://www.php.net/file_get_contents"]file_get_contents[/URL][COLOR= #007700]([/COLOR][COLOR= #0000BB]$file[/COLOR][COLOR= #007700]);[/COLOR]
[URL="http://www.php.net/elseif"]elseif[/URL][COLOR= #007700]([/COLOR][URL="http://www.php.net/file_exists"]file_exists[/URL][COLOR= #007700]([/COLOR][COLOR= #0000BB]$tmpfile[/COLOR][COLOR= #007700]))[/COLOR]
[URL="http://www.php.net/echo"]echo[/URL] [URL="http://www.php.net/file_get_contents"]file_get_contents[/URL][COLOR= #007700]([/COLOR][COLOR= #0000BB]$tmpfile[/COLOR][COLOR= #007700]);
}[/COLOR] 


