header function problem
| From: | Daniel J. Rychlik | Date: | Wed, 04 Jun 2003 22:36:32 +0000 |
| Subject: | header function problem | ||
| Groups: | php.general | ||
| Request: | Send a blank email to php-general+get-150276@lists.php.net to get a copy of this message | ||
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