A
Anonymous
Guest
This is prossible, with one caveat. Your URL will have to change slightly in order to be valid. That is, to keep your web server happy you have to put a ? after the filename. So instead of this:
http://wedhosthere/counter.php+30
You'll need this:
http://webhosthere/counter.php?n=30
(If you want, you can keep the + in there, but it seems extraneous and will make the programming more difficult.)
Now you can get the number by accessing $_GET['n'] and do what you please with it.
If you want to skip the "n=" part you can, but you'll have to parse the query string yourself from $_SERVER['QUERY_STRING']. (see Predefined Variables), which can be tedious.
http://wedhosthere/counter.php+30
You'll need this:
http://webhosthere/counter.php?n=30
(If you want, you can keep the + in there, but it seems extraneous and will make the programming more difficult.)
Now you can get the number by accessing $_GET['n'] and do what you please with it.
If you want to skip the "n=" part you can, but you'll have to parse the query string yourself from $_SERVER['QUERY_STRING']. (see Predefined Variables), which can be tedious.