Mal ne Frage an die PHP Gurus unter euch
meine php datei sieht so aus:
funktioniert auch prima. jedoch ist der aufruf nur per index.php?action=index möglich.
Weiß jemand, wie ich das einrichte, dass es so funktioniert: index.php?index
meine php datei sieht so aus:
Code:
<?
if(isset($_REQUEST['action']))
{
$action=$_REQUEST['action'];
}
else $action="index";
if($action=="index2") {
echo "<html>bla</html>";
}
if($action=="index") {
echo "<html>bla</html>";
}
?>
Weiß jemand, wie ich das einrichte, dass es so funktioniert: index.php?index



Kommentar