#345520 MagicBirdBerlin, 25.07.2013, 20:49:58 |
header geht nicht bei strato (web.coding) |
Hallo Forum, header ("location: index.php?action=login");
|
#345663 benderStrasshof an der Nordbahn, 27.07.2013, 00:07:42 @ MagicBird |
header geht nicht bei strato |
Könnte an der php.ini liegen bzw. an der php-version. Eventuell wurde dieser Befehl raqusgenommen weil Sicherheitsloch. Oder in php5 heißt er einfach anders. -- |
#345677 Hackertomm27.07.2013, 13:32:56 @ MagicBird |
header geht nicht bei strato |
Hier mal die Syntax der Function "Header" in PHP 5. -- |
#345704 MagicBirdBerlin, 27.07.2013, 21:55:35 @ Hackertomm |
header geht nicht bei strato |
> Hier mal die <?php
include "include/mysql_connect.include.php";
include "include/static_variable.include.php";
include "include/page_top.include.php";
if ($_GET['action'] == true)
{
if ($_GET['action'] == 'login')
{
include "" . $_GET['action'] . ".php";
}
else
{
header ("location: index.php?action=login");
}
}
else
{
header ("location: index.php?action=login");
}
include "include/page_bottom.include.php";
?>
|
#346043 MagicBirdBerlin, 02.08.2013, 12:12:18 @ MagicBird |
nun läuft's |
<?php
if ($_GET['action'] == true)
{
if ($_GET['action'] == 'login')
{
include "include/mysql_connect.include.php";
include "include/static_variable.include.php";
include "include/page_top.include.php";
include "" . $_GET['action'] . ".php";
include "include/page_bottom.include.php";
}
else
{
header ("location: index.php?action=login");
}
}
else
{
header ("location: index.php?action=login");
}
?>
|