X-Cart: shopping cart software

X-Cart forums (https://forum.x-cart.com/index.php)
-   Changing design (https://forum.x-cart.com/forumdisplay.php?f=51)
-   -   Value of the button does not pass to .PHP file (https://forum.x-cart.com/showthread.php?t=20864)

jdedba 03-31-2006 02:10 PM

Value of the button does not pass to .PHP file
 
Hi,

In my own .tpl file I have two buttons: one for preview, one for submit:

Code:

<form .... "POST">
<INPUT TYPE=TEXT name=msg>
<INPUT id=button1 type=submit value="Preview" name=preview>
<INPUT id=button2 type=submit value="Submit" name=submit>
</form>


But after one of the buttons is clicked, none of value "Preview" or "Submit" is passed back to my .php file if the X-cart's auth.php is included in the .php file. Does anyone know how to fix the problem??

Thanks a lot.

Jeff

groovico 03-31-2006 02:12 PM

X-carts auth.php cleans out any non x-cart variables passed through to it as a security measure.


All times are GMT -8. The time now is 07:57 PM.

Powered by vBulletin Version 3.5.4
Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.