Passing variables in URL not working in php

Associate
Joined
2 Aug 2005
Posts
680
I've been using this script for a while where I can put different variablle in the URL and these will get passed to the php script eg
Code:
index.php?foo=foo+bar
and then in the script you can run
Code:
<?php print $foo;?>
and it will print out "foo bar", but it doesn't seem to be running on my local machine. I'm running XAMPP which uses apache and what looks like a normal php setup. Is there anything I should check which might be stopping this?
 
Back
Top Bottom