Jump to content

Archived

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

conspiringfate

PHP header problem

Recommended Posts

header("Location: index.php");

www.photoblinger

when opened in firefox it says this
The page isn't redirecting properly

Firefox has detected that the server is redirecting the request for this address in a way that will never complete.
* This problem can sometimes be caused by disabling or refusing to accept
cookies.

Share this post


Link to post
Share on other sites
Are you trying to redirect to the page from where the script is run?

Stephen

Share this post


Link to post
Share on other sites
Although not required, it's recommended to specify the full path:

header("Location: [a href=\"http://www.google.com");\" target=\"_blank\"]http://www.google.com");[/a]

This may be the reason.

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.