hey all! im a kinda newbe @ php,
Ive created a user logon script and it workes fine; on the most computers!
but some computers seems to have problems accapting cookies. this is my logon action script (after filling in the form);
<?php
session_start(); // start session
// kijken of de variabelen username en password wel echt gepost is (dus niet via de url)
if ($HTTP_POST_VARS["username"] && $HTTP_POST_VARS["password"])
{
setcookie("gebruikersnaam", $HTTP_POST_VARS["username"], time() + 31449600, "/");
setcookie("loggedid", "$list->id", time() + 31449600, "/");
setcookie("wachtwoord", $HTTP_POST_VARS["password"], time() + 31449600, "/");
header("location:test.php3");
exit;
}
else {
header("Location: homeerror.php");
}
?>
is there some way to avoid this accapting problem?? ive searched the whole google web 😃 but couldnt find anything!
Regards Gerko!