Simple js redirect
If you need to do a simple redirect from php and don’t want to / can’t use the header command, here’s a simple answer to the problem…
1 | echo "<script>top.location.href = 'http://www.yahoo.com';</script>"; |
If you need to do a simple redirect from php and don’t want to / can’t use the header command, here’s a simple answer to the problem…
1 | echo "<script>top.location.href = 'http://www.yahoo.com';</script>"; |
No comments yet.
RSS feed for comments on this post. TrackBack URL