in reply to what to use create, .html or .cgi
The trick is that everything beyond the script name gets stored in an environment variable called PATH_INFO. So you could then do something like this: my ($this, $that, $the, $other) = split '/',$ENV{PATH_INFO}; Just because it looks like a normal path to the user (and presumably to search engines) doesn't mean your code has to interpret it as such.
I should mention that, while I know this technique works on Apache, I'm not certain it's a universal capability.
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re: Re: what to use create, .html or .cgi
by andrew (Acolyte) on Sep 27, 2002 at 18:46 UTC | |
by seattlejohn (Deacon) on Sep 27, 2002 at 20:05 UTC |