Could someone help me with this problem:
For some reason I am unable to pass variables like this
www.somesite.fi/test.php?number=5
Is there a line in Apache conf. file that prevents me from using this?
http://www.somesite.fi/test.php?number=5 file not found
give us your code in test.php how you print the variable
<?php print "the number was " . $number;
This one works on my remote server...but not on my local apache server...so I figured it could be because of some line in the apache conf. file......
have you installed the newest php, the newest php sets defaultly the global_var to off, you can't use the simple way anymore you can turn the global_var in your php.ini to on, or simple use
<?php print "the number was " . $_GET['number'];
That was it!!! I had INDEED installed the latest php -- so that was the reason why all previous scripts didn't work - when tested locally
:-)