Jump to content


Photo

header redirect


  • Please log in to reply
2 replies to this topic

#1 GingerRobot

GingerRobot
  • Staff Alumni
  • Advanced Member
  • 4,086 posts
  • LocationUK

Posted 28 May 2006 - 07:53 PM

I was wondering if it is possible to use the header() function to redirect someone but achieve something like using a target in an HTML link...like target="_top".

I know it can be done by echoing out javascript, but i was wondering if there is a way to do this in php for those people who have javascript turned off.

#2 poirot

poirot
  • Members
  • PipPipPip
  • Advanced Member
  • 646 posts
  • LocationAustin, TX

Posted 28 May 2006 - 11:51 PM

I don't think that would be possible with PHP.
You can instead put a simple link for those without JS though.
~ D Kuang

#3 GingerRobot

GingerRobot
  • Staff Alumni
  • Advanced Member
  • 4,086 posts
  • LocationUK

Posted 29 May 2006 - 08:58 AM

Yeah, i thought that would be the only way to do it.

Thanks for your help.




0 user(s) are reading this topic

0 members, 0 guests, 0 anonymous users