Hi everybody
I 've just installed apache and PHP on Xp home edition.
Some php fonction does't work ... and as it 's the first time I install
apache and php on windows i need advice .
I use pseudo frame in PHP , just trying to pass a variable like this :
<a href="index.php?page=fisrt_page>1</a> ( realy classic )
and I include an other file which chek if the page exist :
<?php
/* verif si la page existe */
$navigation = array("first_page" => "first_page.php",
"second_page" => "second_page.php");
if(array_key_exists($page, $navigation)){
include ($navigation[$page]);
}
else
{
include("default.php");
}
?>
a précision : all my include are OK and the default page appear but the
other link never work
I have already test this script on www//chez.com and it run well so i
imagine it s a conf problem on my server.
If someone have an idea
thanks a lot
tifab <= HELP