Newbie Cookie Question

PHP programming forum. Ask questions or help people concerning PHP code. Don't understand a function? Need help implementing a class? Don't understand a class? Here is where to ask. Remember to do your homework!

Moderator: General Moderators

User avatar
guinness
Forum Newbie
Posts: 8
Joined: Tue Aug 05, 2003 1:59 pm
Location: VA

meta-refresh

Post by guinness »

I use a meta-refesh on one of my pages. It's cheap but it works:

<?
//so people can see their info when they logged in cold without cookies
if (!isset($_COOKIE['fname'])) {
echo("<meta http-equiv='refresh' content='1;url=accountInfo.php4'>");
}
?>
Post Reply