Languages :: PHP :: Knowledge Base : How to do a header("Location: ...") with a target ? |
|||
| By: VGR |
Date: 18/03/2005 11:18:31 |
Points: 0 | Status: Answered Quality : Good |
|
Dated 17/12/2003 //VGR17122003 Creation : redirection avec target // function HeaderTarget($url,$target='general') { echo <<<EOS <script language="Javascript" type="text/javascript"> top.frames.$target.location.href="$url"; </script> EOS; exit; } // HeaderTarget Procedure |
|||
|
Do register to be able to answer |
|||
©2010 These pages are served without commercial sponsorship. (No popup ads, etc...). Bandwidth abuse increases hosting cost forcing sponsorship or shutdown. This server aggressively defends against automated copying for any reason including offline viewing, duplication, etc... Please respect this requirement and DO NOT RIP THIS SITE.
Please DO link to this page!








