PHP and sub-path parameters ?

From: 127.0.0.1 (newsgroup_at_127.0.0.1)
Date: 11/28/03


Date: Fri, 28 Nov 2003 12:21:48 GMT

When I used to write ISAPI DLLs, I could create a web app XYZ.DLL and
call it like this:

http://www.xyz.com/cgi-bin/xyz.dll/option1/suboption2?x=4
(real example http://www.craznar.com/cgi-bin/cz.dll/freestuff )

Is there any way to achieve this with PHP ?

e.g.

http://www.xyz.com/cgi-bin/xyz.php/option1/suboption2?x=4

Such that I would have something like:

$_GET['path'] = '/option1/suboption2'
$_GET['x'] = 4;

Can I do this:
http://www.xyz.com/cgi-bin/xyz.php?option1/suboption2&x=4

or do I explicitly have to

http://www.xyz.com/cgi-bin/xyz.php?path=option1/suboption2&x=4

-- 
Spam:newsgroup(at)craznar.com@verisign-sux-klj.com
EMail:<0110001100101110011000100111010101110010011010110
11001010100000001100011011100100110000101111010011011100
1100001011100100010111001100011011011110110110100100000>