note 59180 deleted from function.header by nlopess

From: Date: Mon, 28 Nov 2005 21:11:06 +0000
Subject: note 59180 deleted from function.header by nlopess
References: 1  Groups: php.notes 
Request: Send a blank email to php-notes+get-99263@lists.php.net to get a copy of this message
Note Submitter: serotonin at gmail dot com ---- For anyone with redirection problems, I found that the following call was giving the CGI error on my IIS server. header("Location: ".$_SERVER['PHP_SELF']); //problem here exit; //good practice for IIS (never found it necessary for *nix) In switching the code to I was able to get rid of the issue alltogather header("Location: ".$_SERVER['HTTP_REFERER']); //fix exit; Hope this helps someone out in the future -Ryan

« previous php.notes (#99263) next »