hoe zorg ik ervoor dat als de pagina die opgeroepen word niet bestaat hij dan de 404 pagina opent?
script dat ik nu heb:
------------------------------------------------------------------------------
en nog een vraag
ik wil met php me pagina refreshen
hoe doe ik dat?
want als ik gewoon
doe staat er
Quote:
Warning: Cannot modify header information - headers already sent by (output started at C:xampphtdocs estingggindex.php:10) in C:xampphtdocs estingggimagesoverigpage.php on line 2
script dat ik nu heb:
[COLOR= #0000BB]<?php
$page[/COLOR] [COLOR= #007700]=[/COLOR] [COLOR= #0000BB]$_GET[/COLOR][COLOR= #007700][[/COLOR][COLOR= #DD0000]page[/COLOR][COLOR= #007700]];[/COLOR]
[COLOR= #0000BB]$name[/COLOR] [COLOR= #007700]=[/COLOR] hammoscript[COLOR= #007700];[/COLOR]
[URL="http://www.php.net/echo"]echo[/URL] [COLOR= #007700]([/COLOR][COLOR= #DD0000]"<title>$name ~ $page</title>"[/COLOR][COLOR= #007700]);[/COLOR]
[URL="http://www.php.net/include"]include[/URL] [COLOR= #007700]([/COLOR][COLOR= #DD0000]"images/overig/page/$page.php"[/COLOR][COLOR= #007700]);[/COLOR]
?> ------------------------------------------------------------------------------
en nog een vraag
ik wil met php me pagina refreshen
hoe doe ik dat?
want als ik gewoon
[COLOR= #0000BB]<?php[/COLOR]
[URL="http://www.php.net/header"]header[/URL][COLOR= #007700]([/COLOR][COLOR= #DD0000]"Location: index.php"[/COLOR][COLOR= #007700]);[/COLOR]
?> doe staat er
Quote:
Warning: Cannot modify header information - headers already sent by (output started at C:xampphtdocs estingggindex.php:10) in C:xampphtdocs estingggimagesoverigpage.php on line 2
