Jump to content

Archived

This topic is now archived and is closed to further replies.

GingerRobot

header redirect

Recommended Posts

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.

Share this post


Link to post
Share on other sites
I don't think that would be possible with PHP.
You can instead put a simple link for those without JS though.

Share this post


Link to post
Share on other sites
Yeah, i thought that would be the only way to do it.

Thanks for your help.

Share this post


Link to post
Share on other sites

×

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.