RE: [PHP] form posting to a fake page

2002-04-17 Thread Jaime Bozza
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

Re: [PHP] form posting to a fake page (another idea)

2002-04-17 Thread [ rswfire ]
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

Re: [PHP] form posting to a fake page

2002-04-17 Thread Erik Price
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

Re: [PHP] form posting to a fake page (another idea)

2002-04-17 Thread Miguel Cruz
> "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

Re: [PHP] form posting to a fake page

2002-04-17 Thread Miguel Cruz
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

Re: [PHP] form posting to a fake page (another idea)

2002-04-17 Thread [ rswfire ]
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

Re: [PHP] form posting to a fake page

2002-04-17 Thread hugh danaher
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

Re: [PHP] form posting to a fake page

2002-04-17 Thread [ rswfire ]
: 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

Re: [PHP] form posting to a fake page

2002-04-17 Thread Miguel Cruz
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

Re: [PHP] form posting to a fake page

2002-04-17 Thread [ rswfire ]
$_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

Re: [PHP] form posting to a fake page

2002-04-17 Thread Miguel Cruz
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

Re: [PHP] form posting to a fake page

2002-04-17 Thread [ rswfire ]
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

Re: [PHP] form posting to a fake page

2002-04-17 Thread Barry Hoggard
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

Re: [PHP] form posting to a fake page

2002-04-17 Thread Erik Price
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

Re: [PHP] form posting to a fake page

2002-04-17 Thread Erik Price
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

RE: [PHP] form posting to a fake page

2002-04-17 Thread [ rswfire ]
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:

RE: [PHP] form posting to a fake page

2002-04-17 Thread Jaime Bozza
. (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

RE: [PHP] form posting to a fake page

2002-04-17 Thread [ rswfire ]
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

RE: [PHP] form posting to a fake page

2002-04-17 Thread SHEETS,JASON (Non-HP-Boise,ex1)
I assume form works correctly if you go directly to your index page. You need to show us the html code for your form. Make sure your action="" is set properly. If you are using PHP you need to show relevant code. Please be more specific about your domain, www.mydomain.com/mypage.html does not