I pass a parameter named my_var to a php script and:
<?= $my_var ?>
does not display anything
while
<?= $HTTP_GET_VARS["my_var"] ?>
correctly displays the parameter's value.
Anyone has an idea why the first one is not working?
TIA
Aneta
You need to change a parameter in your php.ini file (on my system it is located in /usr/local/lib/)
change register_globals from off to on
register_globals = on
Then you need to restart the web server to apply the changes.
This should solve your problem (It did work for me)
Will