June 14th, 2000, 03:36 PM
Does anyone know how to redirect in PHP?
go_to_url => "www.gothere.com"
An easy one, I know. I thought I knew how, but I guess not.
[This message has been edited by TerryS999 (edited June 14, 2000).]
June 14th, 2000, 03:56 PM
Something like this might work:
header("Location: <A HREF="http://www.foo.com/");" TARGET=_blank>http://www.foo.com/");</A>
June 14th, 2000, 04:13 PM
It's after the header has been written though.
June 16th, 2000, 09:38 AM
var timeID = setTimeout("location.href= 'http://www.site.com'", 5000)
And include 'onLoad="autoChange()' in the Body tag.
June 19th, 2000, 03:44 PM
header("location: <A HREF="http://www.whereuwanttoredirect.com/");" TARGET=_blank>http://www.whereuwanttoredirect.com/");</A>
The exit will prevent the program from running (stops memory leaks)