php session_start() error
- by tooepic
Hi, i've used a sample found on online and applied it to my code:
<?php
session_start();
if (isset($_REQUEST["email"]))
{
$_SESSION["name"] = true;
$host = $_SERVER["HTTP_HOST"];
$path = dirname($_SERVER["PHP_SELF"]);
$sid = session_name() . "=" . session_id();
header("Location: index.php?$sid");
exit;
}
?>…