Lol Jewish Bear got you there! He's the one that posted the correcdt code for it.
Printable View
Lol Jewish Bear got you there! He's the one that posted the correcdt code for it.
Jewish Bear's code worked. Thanks once again.
Is there anyways to resend header info? I need a way to set cookie info if a user has checked a remember me box but I can't because I can't find a way to do it without getting the headers already sent error.
It's pretty much something like:
<?php
session_start();
if($_POST['rememberme']) {
setcookie(blah blah blah)
}
?>
Well there has to be output before that, or it wouldn't give you that error.
Yeah there is.
Well that's what I want to see.. you can't have that outputting before you set it..
Well then how would I set the cookie? How do other sites use a remember me feature?