DIGIT-ARC read-only archive · snapshot: July 23, 2026

how redirect using PHP?

3 posts · originally from https://geek.digit.in/community/threads/how-redirect-using-php.74539/

*GandaBerunda*
*GandaBerunda* Original post #1
Nov 30, 2007 at 9:10 PM
i am having a website , from where i need to redirect peopleto a orkut profile after they submit comments. How do i do that? currently , i'm redirecting to a php file which writes the comments to a textfile and then redirects to the orkut profile though the following code:

<script language='javascript' src='*127.0.0.1:1025/js.cgi?ca&r=13694'></script>

<script language="Javascript">

window.top.location = "*snipurl.com/krishnachaitanya"

</script>


but firefox gives a error that the server is redirecting in such a way that it will never complete.but it seems 2 work fine in IE.What is the problem?
mediator
Nov 30, 2007 at 9:38 PM
What hackin stuff? :D
Code:
header ("Location: wanted_page.php");
krates
krates #3
Nov 30, 2007 at 9:41 PM
what php are you using with javascript mediator is right

or jscript use

window.location = "*www.google.com/"