Dobrý den,
potřeboval bych další radu tentokrát ohledně PHP na stránkách my to píše chyby:
Notice: Undefined variable: id in C:\Program Files\EasyPHP 2.0b1\www\index.php on line 336
Notice: Undefined variable: id in C:\Program Files\EasyPHP 2.0b1\www\index.php on line 345
Zde jsou ony řádky:
335: 336: if (file_exists("$id.php")):
337: if ($id == "index" || Strstr($id,"/") == true || Strstr($id,"\\") == true || Strstr($id,"\"") == true || Strstr($id,"\'") == true || Strstr($id,".") == true):
338: require "novinky.php";
339: echo "";
340: else:
341: require "$id.php";
342: endif;
343: else:
344: require "novinky.php";
345: echo "";
346: endif;?>
a táké mi to vypisuje sdělení stránky:
Stránka ".php" nebyla na našem webu nalezena.
Děkuji za odpovědi :)