View previous topic :: View next topic |
Author |
Message |
magabriel Guest
|
Posted: Sun May 05, 2002 10:20 am Post subject: Problem with method="post" |
|
|
Hi.
I've just installed and configured the webserver on a WinXP machine. I'm using PHP + MySQL, and everything runs smoothly except for a problem when submiting POST forms: they just don't seem to work!!!. When a FORM with method="POST" is submited, nothing happens - I guess the target page doesn't receive the submited data (by the way, IIS works fine in the same machine and with the same forms).
Maybe it's something in the webserver configuration, but I can't figure it out.
Anyway, this is a great product!!! Keep on the good work. |
|
Back to top |
|
|
the whackaxe Guest
|
Posted: Sun May 05, 2002 6:06 pm Post subject: |
|
|
what happens? does the the page not unload or do you get a file not found error. could you be a bit more precise. if you get a "error 200" or whatever, that means the form has worked hope that can be a bit helpful
-the whackaxe |
|
Back to top |
|
|
magabriel -
Joined: 05 May 2002 Posts: 5
|
Posted: Sun May 05, 2002 9:28 pm Post subject: |
|
|
OK, I will try to be more precise:
I'm triying to run a PHP script for a shopping cart. The page with the trouble form is one of the product detailed info, and after pressing the "add to cart" button the product code is sent via "method=POST" to the target page (the "your cart contains" page).
The target page does load, but with an application error message meaning "the product code you are triying to add to the cart doesn't exist". So the HTTP_POST_VARS array is not populated - i.e. the target page is not receiving the POSTed variables.
I've tested the same script with IIS and everything works fine. |
|
Back to top |
|
|
aprelium -
Joined: 22 Mar 2002 Posts: 6800
|
Posted: Sun May 05, 2002 10:41 pm Post subject: |
|
|
magabriel wrote: | OK, I will try to be more precise:
I'm triying to run a PHP script for a shopping cart. The page with the trouble form is one of the product detailed info, and after pressing the "add to cart" button the product code is sent via "method=POST" to the target page (the "your cart contains" page).
The target page does load, but with an application error message meaning "the product code you are triying to add to the cart doesn't exist". So the HTTP_POST_VARS array is not populated - i.e. the target page is not receiving the POSTed variables.
I've tested the same script with IIS and everything works fine. |
Are using PHP 4.2.0 ? if so, read the post at http://www.aprelium.com/forum/viewtopic.php?t=85 . _________________ Support Team
Aprelium - http://www.aprelium.com |
|
Back to top |
|
|
magabriel -
Joined: 05 May 2002 Posts: 5
|
Posted: Mon May 06, 2002 7:15 pm Post subject: |
|
|
magabriel wrote: | I've tested the same script with IIS and everything works fine. |
Thanks for the idea, but under IIS it runs without problems. Also, I failed to mention that the same script runs OK under BadBlue, too.
By the way, the PHP version is 4.0.6 |
|
Back to top |
|
|
aprelium -
Joined: 22 Mar 2002 Posts: 6800
|
Posted: Mon May 06, 2002 10:46 pm Post subject: |
|
|
magabriel wrote: | magabriel wrote: | I've tested the same script with IIS and everything works fine. |
Thanks for the idea, but under IIS it runs without problems. Also, I failed to mention that the same script runs OK under BadBlue, too.
By the way, the PHP version is 4.0.6 |
Can you tell us where to find that script to test it ? _________________ Support Team
Aprelium - http://www.aprelium.com |
|
Back to top |
|
|
magabriel -
Joined: 05 May 2002 Posts: 5
|
|
Back to top |
|
|
magabriel -
Joined: 05 May 2002 Posts: 5
|
|
Back to top |
|
|
|