Re: header function problem

From: Date: Wed, 04 Jun 2003 23:01:51 +0000
Subject: Re: header function problem
References: 1  Groups: php.general 
Request: Send a blank email to php-general+get-150277@lists.php.net to get a copy of this message
Well, it works if I use the full path instead of relative.... So obviously its an apache permissions issue. ----- Original Message ----- From: "Daniel J. Rychlik" <drychlik@tcsconsult.com> To: <php-general@lists.php.net> Sent: Wednesday, June 04, 2003 5:36 PM Subject: [PHP] header function problem I am using a header function to take a user back to a form if they have mistyped or entered in data that is not desirable. I have multiple functions that Ive written but the one that pertains to this situation is listed.... function check_data () { if (!empty($value)) { go_back(" blah "); } } function go_back($err) { header("Location: http://webserver/form.htm"); } When calling this, I recieved a 403 Forbidden error message. Obviously Im doing something wrong... Or I have a permissions issue. I would not think its a permissions issue execpt the way the header function calls. I honestly dont know, just guessing. I was wandering if anyone has seen this when using the header() function.... Thanks so much, Daniel

« previous php.general (#150277) next »