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
shiznatix
DevNet Master
Posts: 2745 Joined: Tue Dec 28, 2004 5:57 pm
Location: Tallinn, Estonia
Contact:
Post
by shiznatix » Mon Feb 28, 2005 5:28 pm
i have a header('location:
http://www.sdfsd.com '); thing going on but i want it to break out of the iframe its in when it does that. any sugestions?
Chris Corbyn
Breakbeat Nuttzer
Posts: 13098 Joined: Wed Mar 24, 2004 7:57 am
Location: Melbourne, Australia
Post
by Chris Corbyn » Mon Feb 28, 2005 5:33 pm
Not 100% but i'd write the URL you want to go to a JavaScript command to redirect the parent window instead of using header()...
Haven't thought the code up in my head so it might not work seamlessly
feyd
Neighborhood Spidermoddy
Posts: 31559 Joined: Mon Mar 29, 2004 3:24 pm
Location: Bothell, Washington, USA
Post
by feyd » Mon Feb 28, 2005 5:41 pm
either a JS or target link can do it.. header() will not.