[B][I]Hello
 
My POP REGISTRATION FORM works pretty good. However, I’m having a problem with a[I] New Registration[I]User logging back in[I]It should appear immediately and prompt User to login each time after closing down the browser?
My Question is: How do I get the Registration Form to re-appear immediately on next visit, after logging out and shutting down the browser? I am still very new to coding, so please take a look at my code below and if possible give me a real sample and/or insert it into my code. Thanks!
Regards,
Cid ?
Email: [email][email protected]
p.s. Please feel free to edit my code:
<?php
if(@$_COOKIE[‘user_id’] != true) { // If the cookie “user_id” is not set to true
setcookie(‘user_id’, true, time() + 31563000); // Sets a 1-year long cookie called “user_id” to equal true.
setcookie(‘user_id’, true); // Sets a session-duration cookie called “user_id” to equal true.
require(‘reg_form_detail.php’); // require your form detail page
//}
}
?>