Jump to content


Photo

PHP header problem


  • Please log in to reply
2 replies to this topic

#1 conspiringfate

conspiringfate
  • Members
  • Pip
  • Newbie
  • 9 posts

Posted 04 June 2006 - 02:11 AM

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.

#2 stephenk

stephenk
  • Members
  • PipPipPip
  • Advanced Member
  • 62 posts

Posted 04 June 2006 - 01:07 PM

Are you trying to redirect to the page from where the script is run?

Stephen

#3 poirot

poirot
  • Members
  • PipPipPip
  • Advanced Member
  • 646 posts
  • LocationAustin, TX

Posted 04 June 2006 - 02:40 PM

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.
~ D Kuang




0 user(s) are reading this topic

0 members, 0 guests, 0 anonymous users