On Thu, Mar 14, 2002 at 07:58:29AM +0800, Michael P. Carel wrote: > I have that kind of problem before, but it whould be much better to use > javascripts rather than the HTTP Header function when redirecting to cover > over the frame page. Use this instead: > > echo"<scripts>top.location.href=http://your.page.direction; </scripts>"; > > I've already tried and using this kind of redirection and it just works fine > with me.
Sure it works... execpt when people who have Java'sCrap turned off come to your site. Oh, and then there's the folks with browsers that don't have JS at all? HTTP headers work across all browsers. header('Location: http://foo.org/') is the real solution. For more info on why not to use Java'sCrap and how accomplish the same things without it, see http://www.analysisandsolutions.com/code/weberror.htm?j=y Enjoy, --Dan -- PHP scripts that make your job easier http://www.analysisandsolutions.com/code/ SQL Solution | Layout Solution | Form Solution T H E A N A L Y S I S A N D S O L U T I O N S C O M P A N Y -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php