Variables via url

From: Date: Fri, 11 May 2012 23:15:23 +0000
Subject: Variables via url
Groups: php.general 
Request: Send a blank email to php-general+get-317847@lists.php.net to get a copy of this message
    Can someone point me at examples or directions on how I can pass a variable via a URL in the following way:
    http://server.domain.com//script///variable/
    I will only be passing one single /variable/.  And I want the /script/ to use that.
    I don't want to see what the script is, for example I don't want it to say 'script.php' or 'script.html' ...
    Is this possible through PHP only, or do I have to write a rewrite directive in Apache to accomplish this?


« previous php.general (#317847) next »