note 43580 deleted from function.header by tomsommer

From: Date: Sun, 27 Jun 2004 01:59:10 +0000
Subject: note 43580 deleted from function.header by tomsommer
References: 1  Groups: php.notes 
Request: Send a blank email to php-notes+get-71839@lists.php.net to get a copy of this message
Note Submitter: ---- If you like to refresh/load sites when using frames (@header doesnt support this) you could try this <? function refresh_site($url, $target="", $querystring=""){ if($target){ echo ('<script language="JavaScript">parent.'.$target.'. location.href="'.$url.'?'.$querystring.'"</script>'); return; } echo ('<META HTTP-EQUIV="Refresh" Content="0; URL='.$url.'?'.$querystring.'">'); return; } ?> Njoy Toppi

« previous php.notes (#71839) next »