Re: Problems running PHP.

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



<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,
Jose


</snip>

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.

William

--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php


[Index of Archives]     [PHP Home]     [Apache Users]     [PHP on Windows]     [Kernel Newbies]     [PHP Install]     [PHP Classes]     [Pear]     [Postgresql]     [Postgresql PHP]     [PHP on Windows]     [PHP Database Programming]     [PHP SOAP]

  Powered by Linux