Hello,
Iam using the following code:It works as it is supposed to unless the machine is behind Norton Personal Firewall. I have not test with any other sw firewalls. I do not know if the problem is with the $_SERVER[] or the HTTP_REFERER part, but know that the problem is there. If I do anPHP Code:if(substr_count($_SERVER['HTTP_REFERER'],"mail.php") > 0){
$_SESSION['m_f_name'] = $_POST['first_name'];
$_SESSION['m_l_name'] = $_POST['last_name'];
$_SESSION['m_street'] = $_POST['street'];
$_SESSION['m_apt'] = $_POST['apt'];
$_SESSION['m_city'] = $_POST['city'];
$_SESSION['m_state'] = $_POST['state'];
$_SESSION['m_zip'] = $_POST['zip'];
$_SESSION['m_email'] = $_POST['email'];
}
I get nothing.PHP Code:echo($_SERVER['HTTP_REFERER']);
Is this a problem with Norton or any sw firewall in general, and should i avoid the $_SERVER['HTTP_REFERER'] statement?
Any help is greatly appreciated, THANKS





Bookmarks