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

RE: [PHP] form posting to a fake page

2002-04-17 Thread [ rswfire ]
. 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 correctly if you go directly to your index page. You

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 ]
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:46:23 -0500 Actually, I believe this is a browser problem

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

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 is

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:

Re: [PHP] form posting to a fake page

2002-04-17 Thread [ rswfire ]
, 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 Wednesday, April 17, 2002, at 03:49 PM, [ rswfire

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 ]
$_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 Apr 2002 15:56:32 -0500 (CDT

Re: [PHP] form posting to a fake page

2002-04-17 Thread 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 would still require some knowledge of the posted data. If someone clicks

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 in querystring format. miguel

Re: [PHP] form posting to a fake page

2002-04-17 Thread hugh danaher
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: [PHP] form posting to a fake page No, the error handler

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

2002-04-17 Thread [ rswfire ]
] 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 in querystring format. miguel On Wed, 17 Apr 2002, [ rswfire

Re: [PHP] form posting to a fake page

2002-04-17 Thread Miguel Cruz
property is called; server notices the page is not real (Data is lost here) 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

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

2002-04-17 Thread Miguel Cruz
property to be ?login=attempt. This really shouldn't be so complicated! :-) 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

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

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

2002-04-17 Thread [ rswfire ]
? 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://httpd.apache.org/docs/misc/rewriteguide.html which

RE: [PHP] form posting to a fake page

2002-04-17 Thread Jaime Bozza
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 containing the form data in querystring format