I have apache 1.3xx with php 4.2.1 running windows 2000 Adv. Servr hosting my own domain.
my question is.. looking at the below script..
<?
$a=0;
print $a;
?>
this produces a very simple zero on the screen, no problem.. but when I try to load a variable in the URL exp.
www.mydomain.com/test.php?a=4
it does not produce a 4, but instead still will only show the 0.
is my code wrong? in either the script or URL? I do have my domain being forwarded from domainwizardry.com to my IP address..
this is a simple problem that will help me fix a larger more complex issue if I can get this figured out.
A friend of mine had told me that the variables "a=4" without quotes are not being "parsed"... I don't know what that means in regards to php scripting. He also said that my domainwizardry.com could be scrubbing the variables when forwared. But I don't think that true because i get the same results when I use localhost and the php file...
Any help in any direction would be greatly appreciated.
Thankx
😕