Hallo,
ich möchte den Attribut "seite[]" von dem PHP-Script "Senden.php" übergeben. Was muss ich in der Datei "Senden.php" änderm?
Gruß
Thomas
/////Eingabe.html/////
<form method="post" action="ausgabe.php">
<input type="checkbox" name="seite[]" value="http://www.devmag.net"> devmag.net<br>
<input type="checkbox" name="seite[]" value="http://www.drweb.de"> Dr.Web<br>
<input type="checkbox" name="seite[]" value="http://www.exine.de"> Exine<br>
<input type="submit" value="go!">
</form>
////Senden.php/////
// POST-Request
if ($HTTP_POST_VARS)
{
$inputVars = $HTTP_POST_VARS;
}
// GET-Request
else if ($HTTP_GET_VARS)
{
$inputVars = $HTTP_GET_VARS;
}
// POST-Request (Kompatibilitaet ab PHP 4.1.0)
else if ($_POST)
{
$inputVars = $_GET;
}
// GET-Request (Kompatibilitaet ab PHP 4.1.0)
else if ($_GET)
{
$inputVars = $_GET;
}