ik heb dit script
de 404 en de home paginas worden uit de map page gehaald
ik wil dat de $page daar ook uit word gehaald maar als ik voor de $page page/ zet doet hij het niet
wie kan er helpen?
[COLOR= #0000BB]<?php
$page[/COLOR][COLOR= #007700]=[/COLOR][COLOR= #0000BB]$_GET[/COLOR][COLOR= #007700][[/COLOR][COLOR= #DD0000]p[/COLOR][COLOR= #007700]];[/COLOR]
[URL="http://www.php.net/if"]if[/URL][COLOR= #007700]([/COLOR][COLOR= #0000BB]$page[/COLOR][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]$page[/COLOR][COLOR= #007700].[/COLOR][COLOR= #DD0000]".php"[/COLOR][COLOR= #007700]))
{[/COLOR]
[URL="http://www.php.net/include"]include[/URL][COLOR= #007700]([/COLOR][COLOR= #0000BB]$page[/COLOR][COLOR= #007700].[/COLOR][COLOR= #DD0000]".php"[/COLOR][COLOR= #007700]);
}[/COLOR]
[URL="http://www.php.net/else"]else[/URL]
[COLOR= #007700]{[/COLOR]
[URL="http://www.php.net/include"]include[/URL][COLOR= #007700]([/COLOR][COLOR= #DD0000]"page/404.php"[/COLOR][COLOR= #007700]);[/COLOR] [COLOR= #FF8000]// 404 page[/COLOR]
[COLOR= #007700]}
}[/COLOR]
[URL="http://www.php.net/else"]else[/URL]
[COLOR= #007700]{[/COLOR]
[URL="http://www.php.net/include"]include[/URL][COLOR= #007700]([/COLOR][COLOR= #DD0000]"page/home.php"[/COLOR][COLOR= #007700]);[/COLOR] [COLOR= #FF8000]// de pagina die als index weergegeven moet worden[/COLOR]
[COLOR= #007700]}[/COLOR]
?> de 404 en de home paginas worden uit de map page gehaald
ik wil dat de $page daar ook uit word gehaald maar als ik voor de $page page/ zet doet hij het niet
wie kan er helpen?