Re: [PHP] Re: HTTP header question.

2001-07-30 Thread Christian Reiniger
On Monday 30 July 2001 03:10, Ben Bleything wrote: I understand that the POST operation stores the data from the form in the message headers... I just need to know which headers, so I can use that information to write my own... I basically want to make it seem as if the $failure var was

RE: [PHP] Re: HTTP header question.

2001-07-30 Thread Taylor, Stewart
The easiest solution is to create the failure variable as a session variable. -Stewart -Original Message- From: Matt Rogers [mailto:[EMAIL PROTECTED]] Sent: 30 July 2001 04:00 To: [EMAIL PROTECTED] Subject: [PHP] Re: HTTP header question. I don't know how to solve your problem, but I

RE: [PHP] Re: HTTP header question.

2001-07-30 Thread Dave
still don't see the need to pass as a header... ?PHP $success=0; $failure_notice=''; if($login){ # lets say we are checking against database for valid user #connect to db #do your query #get result in $valid_login, $valid_pass if($login==$valid_login

Re: [PHP] Re: HTTP header question.

2001-07-30 Thread Matt Rogers
Some of the original message: still don't see the need to pass as a header... you avoid the http://his.website.com/rams/login.php?failure=true as you just get login.php each time as far as the displayed URL. my opinion, let the scripting handle all the logic and ease off the header

RE: [PHP] Re: HTTP header question.

2001-07-30 Thread Dave
below Some of the original message: still don't see the need to pass as a header... you avoid the http://his.website.com/rams/login.php?failure=true as you just get login.php each time as far as the displayed URL. my opinion, let the scripting handle all the logic and ease off the header

RE: [PHP] Re: HTTP header question.

2001-07-30 Thread Ben Bleything
-Original Message- From: Dave [mailto:[EMAIL PROTECTED]] Sent: Monday, July 30, 2001 8:05 AM To: [EMAIL PROTECTED] Subject: RE: [PHP] Re: HTTP header question. below Some of the original message: still don't see the need to pass as a header... you avoid the http://his.website.com/rams

RE: [PHP] Re: HTTP header question.

2001-07-30 Thread Ben Bleything
Ahh, and a bit of clarification before you read the code, the page posts to itself = Ben -Original Message- From: Dave [mailto:[EMAIL PROTECTED]] Sent: Monday, July 30, 2001 8:05 AM To: [EMAIL PROTECTED] Subject: RE: [PHP] Re: HTTP header question. below Some of the original message

RE: [PHP] Re: HTTP header question.

2001-07-29 Thread Ben Bleything
I'm fully aware of that. The issue is not the refreshing (that works fine)... Here's a little more detail: if(!$login) { if($failure) // complain // show the form } else { if(user_is_good) // take them to the next page else

Re: [PHP] Re: HTTP header question.

2001-07-29 Thread Philip Murray
Quoting Ben Bleything [EMAIL PROTECTED]: I'm fully aware of that. The issue is not the refreshing (that works fine)... Here's a little more detail: if(!$login) { if($failure) // complain // show the form } else { if(user_is_good)

Re: [PHP] Re: HTTP header question.

2001-07-29 Thread Matt Greer
What I'm looking for is a way to do this such that the user does not see anything more than http://host.name.here/rams/login.php in their address bar when it failed... Doesn't using a form with its method set to post send the variables through headers? If that's the case, couldn't you

RE: [PHP] Re: HTTP header question.

2001-07-29 Thread Ben Bleything
to the page. I'm having NO luck whatsoever with the HTTP RFC's... too thick = Thanks, Ben -Original Message- From: Philip Murray [mailto:[EMAIL PROTECTED]] Sent: Sunday, July 29, 2001 6:06 PM To: Ben Bleything Cc: [EMAIL PROTECTED] Subject: Re: [PHP] Re: HTTP header question. Quoting