Reno of Shinra
02-24-2003, 09:18 AM
if (!isset($HTTP_COOKIE_VARS['pimpin'])) {
$pwned = $DB_site->query_first("SELECT pwn3d FROM user WHERE userid='$b$
if ($pwned == 0) {
vbsetcookie("pimpin",$pwned,1);
}
if ($pwned == 1) {
vbsetcookie("pimpin",$pwned,1);
}
if ($pwned == -1) {
vbsetcookie("pimpin",0,1);
}
}
I'm trying to add a cookie into global.php under referrer stuff and the cookie is not showing up, this script isn't completed, but never the less, the cookie should show up, any suggestions on what i'm doing wrong?
$pwned = $DB_site->query_first("SELECT pwn3d FROM user WHERE userid='$b$
if ($pwned == 0) {
vbsetcookie("pimpin",$pwned,1);
}
if ($pwned == 1) {
vbsetcookie("pimpin",$pwned,1);
}
if ($pwned == -1) {
vbsetcookie("pimpin",0,1);
}
}
I'm trying to add a cookie into global.php under referrer stuff and the cookie is not showing up, this script isn't completed, but never the less, the cookie should show up, any suggestions on what i'm doing wrong?