| ||||||||||
![]() |
Shopping cart software Solutions for online shops and malls | |||||||||
![]() |
![]() |
|
X-Cart Home | ![]() |
![]() |
![]() |
![]() |
![]() |
![]() |
![]() |
Using POST as the form submission method | |||
![]() |
|
|
Thread Tools | Search this Thread |
#1
|
|||||||
|
|||||||
![]() Hey,
I've set up a very simple product enquiry page so that people can submit questions straight from the product details page. I'd like to post some variables from the product details page to the enquiry page, but when I use the POST method it does not work (I'm re-directed to a search page). I assume this is a security measure and is being controlled by auth.php (or a file referenced from there). It works fine when I use GET, but ideally I'd like to avoid having all the variables in the URL. My product enquiry page looks like this: Code:
When I comment out the first line (auth.php) the correct url appears in the browser, but I get inclusion errors etc. When I include the line I am simply redirected to a search page. Any help would be greatly appreciated. Cheers. |
|||||||
#2
|
|||||||||
|
|||||||||
![]() Do not include products.php. This script does search for products and returns the result and shows search page
__________________
Steve Stoyanov CFLSystems.com Web Development |
|||||||||
#3
|
|||||||||
|
|||||||||
![]() In case you find it easier - there is a free Product Enquiry mod at Xcartmods: http://www.xcartmods.co.uk/x-cart-direct-product-enquiry-form.html
---
__________________
X-CART (4.1.9,12/4.2.2-3/4.3.1-2/4.4.1-5)-Gold (CDSEO, Altered-Cart On Sale, BCSE Preorder Backorder, QuickOrder, X-Payments, BCSE DPM Module) |
|||||||||
#4
|
|||||||
|
|||||||
![]() Doh!
Awesome, cheers Steve. |
|||||||
![]() |
|
Thread Tools | Search this Thread |
|
|
|
|||
X-Cart forums © 2001-2020
|