NYCPHP Meetup

NYPHP.org

[nycphp-talk] I'm on a roll, folks!

Phil Powell soazine at erols.com
Sat Sep 6 17:11:35 EDT 2003


loggout.php doesn't exactly redirect properly, and I have no idea what to do about it... I need to bust out of the frame and go to top, so, how do I do it?

Code that I have that fails:

<?

  require_once('/home/nordicnet.no/include/nordicnet_global_vars_functions.php');
 
  setcookie('nordicnet_registration', 0, time() - 86400, '/'); // DELETE COOKIE

?>

<html>
<head>
<meta http-equiv=Refresh content="0;URL=http://<?= $serverName ?>/index.php">
<script>
<!--
  location.target = top;
  location.href = 'http://<?= $serverName ?>/index.php';
//-->
</script>
</head>
<body>
<?= $font ?>Om du er her <a href=http://<?= $serverName ?>/index.php>klikk her</a></font>
</body>
</html>

Phil
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.nyphp.org/pipermail/talk/attachments/20030906/573a4cce/attachment.html>


More information about the talk mailing list