Re: [PHP] header function problem
It works now. Are their any examples out there that will show how to pass back the information that was entered and pass the error message back to the form.htm ? Or a function that i need to read up on. -Dan - Original Message - From: Jason Wong [EMAIL PROTECTED] To: [EMAIL PROTECTED] Sent: Thursday, June 05, 2003 1:01 AM Subject: Re: [PHP] header function problem On Thursday 05 June 2003 07:01, Daniel J. Rychlik wrote: Well, it works if I use the full path instead of relative So obviously its an apache permissions issue. It has nothing to do with apache. The specs require that the location is absolute. -- Jason Wong - Gremlins Associates - www.gremlins.biz Open Source Software Systems Integrators * Web Design Hosting * Internet Intranet Applications Development * -- Search the list archives before you post http://marc.theaimsgroup.com/?l=php-general -- /* It is undignified for a woman to play servant to a man who is not hers. -- Spock, Amok Time, stardate 3372.7 */ -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php
[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
Re: [PHP] header function problem
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 [EMAIL PROTECTED] To: [EMAIL PROTECTED] 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 -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php
Re: [PHP] header function problem
On Thursday 05 June 2003 07:01, Daniel J. Rychlik wrote: Well, it works if I use the full path instead of relative So obviously its an apache permissions issue. It has nothing to do with apache. The specs require that the location is absolute. -- Jason Wong - Gremlins Associates - www.gremlins.biz Open Source Software Systems Integrators * Web Design Hosting * Internet Intranet Applications Development * -- Search the list archives before you post http://marc.theaimsgroup.com/?l=php-general -- /* It is undignified for a woman to play servant to a man who is not hers. -- Spock, Amok Time, stardate 3372.7 */ -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php