Re: Problems running PHP.
| From: | Eakin, W | Date: | Mon, 22 Nov 2004 11:28:06 +0000 |
| Subject: | Re: Problems running PHP. | ||
| References: | 1 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-202657@lists.php.net to get a copy of this message | ||
<snip>
<?php // variables para capturar desde la orderform $tireqty = $HTTP_GET_VARS['tireqty']; $oilqty = $HTTP_GET_VARS['oilqty']; $sparkqty = $HTTP_GET_VARS['sparkqty']; ?> </snip><snip>
I am sure that this code works because I tried it on a server who is running php 4.0, I know that in php 5.0.2, I can use $_POST and $_GET instead of $HTTP_GET_VARS or $HTTP_POST_VARS. But, I have tried them and they are not working. So, I hope you can help me to fix it, because I really want to learn how to program with PHP. Best Regards,Hello Jose, You may have already tried this, but have you checked your php.ini file to see if you have register_globals = Off If you don't, change it to 'Off', and try your code again. WilliamJose</snip>