3. Error handler is called
Original Message Follows
From: Miguel Cruz <[EMAIL PROTECTED]>
To: "[ rswfire ]" <[EMAIL PROTECTED]>
CC: [EMAIL PROTECTED]
Subject: Re: [PHP] form posting to a fake page
Date: Wed, 17 Apr 2002 16:00:17 -0500 (CDT)
Your error handler w
them all. Any ideas?
Original Message Follows
From: Miguel Cruz <[EMAIL PROTECTED]>
To: "[ rswfire ]" <[EMAIL PROTECTED]>
CC: [EMAIL PROTECTED]
Subject: Re: [PHP] form posting to a fake page (another idea)
Date: Wed, 17 Apr 2002 16:29:40 -0500 (CDT)
Have a look at http://ht
On Wednesday, April 17, 2002, at 04:57 PM, [ rswfire ] wrote:
> $_POST[] variables do not exist on a redirected page; that's the
> problem!
They would exist if you were using a PHP script with header() to do your
redirect rather than an Apache feature. I think this is what Miguel,
and myse
> "index.php?login=attempt&page=/technicians.html" when I would like the
> action property to be "?login=attempt".
>
> This really shouldn't be so complicated! :-)
>
>
> Original Message Follows
> From: Miguel Cruz <[EMAIL PROTECT
Wed, 17 Apr 2002, [ rswfire ] wrote:
> > $_POST[] variables do not exist on a redirected page; that's the problem!
> >
> > Original Message Follows
> > From: Miguel Cruz <[EMAIL PROTECTED]>
> > To: "[ rswfire ]" <[EMAIL PROTECTE
nal Message Follows
From: Miguel Cruz <[EMAIL PROTECTED]>
To: "[ rswfire ]" <[EMAIL PROTECTED]>
CC: [EMAIL PROTECTED]
Subject: Re: [PHP] form posting to a fake page
Date: Wed, 17 Apr 2002 16:00:17 -0500 (CDT)
Your error handler would read them and then construct a redirect
conta
your index.php page to pick up the data from the database and
display it.
Hope this helps,
Hugh
- Original Message -
From: "[ rswfire ]" <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Cc: <[EMAIL PROTECTED]>
Sent: Wednesday, April 17, 2002 2:03 PM
Subject: Re: [P
: Miguel Cruz <[EMAIL PROTECTED]>
To: "[ rswfire ]" <[EMAIL PROTECTED]>
CC: [EMAIL PROTECTED]
Subject: Re: [PHP] form posting to a fake page
Date: Wed, 17 Apr 2002 16:00:17 -0500 (CDT)
Your error handler would read them and then construct a redirect
containing the form data
From: Miguel Cruz <[EMAIL PROTECTED]>
> To: "[ rswfire ]" <[EMAIL PROTECTED]>
> CC: [EMAIL PROTECTED]
> Subject: Re: [PHP] form posting to a fake page
> Date: Wed, 17 Apr 2002 15:56:32 -0500 (CDT)
>
> On Wed, 17 Apr 2002, [ rswfire ] wrote:
> > It wou
$_POST[] variables do not exist on a redirected page; that's the problem!
Original Message Follows
From: Miguel Cruz <[EMAIL PROTECTED]>
To: "[ rswfire ]" <[EMAIL PROTECTED]>
CC: [EMAIL PROTECTED]
Subject: Re: [PHP] form posting to a fake page
Date: Wed, 17 A
On Wed, 17 Apr 2002, [ rswfire ] wrote:
> It would still require some knowledge of the posted data. If someone clicks
> a submit button, and it is posting to a page that doesn't really exist, then
> when the index.php file gets called as a 404 errordocument, the posted
> variables are already
ideal solution, but it works.
Original Message Follows
From: Erik Price <[EMAIL PROTECTED]>
To: "[ rswfire ]" <[EMAIL PROTECTED]>
CC: [EMAIL PROTECTED], [EMAIL PROTECTED]
Subject: Re: [PHP] form posting to a fake page
Date: Wed, 17 Apr 2002 15:53:55 -0400
On We
That's the way apache works - it's not specific to PHP. The same
happens under mod_perl, for example.
Redirects ALWAYS lose any posted information. You have to save the
form data a different way, such as in a session variable.
--
Barry Hoggard
Tristan Media LLC
e: [EMAIL PROTECTED]
p: 212-6
On Wednesday, April 17, 2002, at 03:49 PM, [ rswfire ] wrote:
> See, now that makes sense. So it sounds like there's really nothing
> that can be done except to have it post directly to the index.php file
> along with an environment variable indicating what page is posting the
> data. This
On Wednesday, April 17, 2002, at 03:36 PM, [ rswfire ] wrote:
> Yes it works fine if I access it directly from index.php. The action
> property is set appropriately. I believe the problem lies in the fact
> that it is redirected in the background because the page is not real,
> so I'm assu
st not the ideal
solution. Thank you.
Original Message Follows
From: "Jaime Bozza" <[EMAIL PROTECTED]>
To: "'[ rswfire ]'" <[EMAIL PROTECTED]>
CC: <[EMAIL PROTECTED]>
Subject: RE: [PHP] form posting to a fake page
Date: Wed, 17 Apr 2002 14:
.
(Testing this with both IE and Netscape)
Jaime Bozza
-Original Message-
From: [ rswfire ] [mailto:[EMAIL PROTECTED]]
Sent: Wednesday, April 17, 2002 2:36 PM
To: [EMAIL PROTECTED]
Cc: [EMAIL PROTECTED]
Subject: RE: [PHP] form posting to a fake page
Yes it works fine if I access it directly
ation.
Original Message Follows
From: "SHEETS,JASON (Non-HP-Boise,ex1)" <[EMAIL PROTECTED]>
To: "'[ rswfire ]'" <[EMAIL PROTECTED]>, [EMAIL PROTECTED]
Subject: RE: [PHP] form posting to a fake page
Date: Wed, 17 Apr 2002 15:29:56 -0400
I assume form works
l does
not allow anyone to go to the site and view the behavior or view your html
to make sure everything is ok.
Jason
-Original Message-
From: [ rswfire ] [mailto:[EMAIL PROTECTED]]
Sent: Wednesday, April 17, 2002 1:04 PM
To: [EMAIL PROTECTED]
Subject: [PHP] form posting to a fake p
I am having a problem with posted variables showing up on a redirected
page...
When someone access the page www.mydomain.com/mypage.html - it does not
actually exist so my 404 errordocument is called (which is the root
index.php file) - the index.php file knows what to do and creates an
appro
20 matches
Mail list logo