WWW?sdoc - how do I read PATH_INFO variable?
WWW?sdoc - how do I read PATH_INFO variable?
- Subject: WWW?sdoc - how do I read PATH_INFO variable?
- From: email@hidden (Ted Wood)
- Date: Mon, 29 Jan 2001 22:38:41 -0700
Calling all CGI Scripters...
I need help figuring out how to read the PATH_INFO variable hopefully
passed along with the WWWsdoc AppleEvent. It should contain everything
between the cgi script name and the '?' in the path. The only reference I
have is the "Using CGI" book. It explains the variable, but not how to
extract it using AppleScript. Here's an example of PATH_INFO:
http://www.server.com/calendar.cgi/2001/January?day=12
.... where " /2001/January " would be the captured variable data.
Does WWWsdoc handle this variable? I can extract the string following the
'$' and the '?' in the path, just not the PATH_INFO string.
Also, is there an alternative to using WWWsdoc? I find that its
implementation of using +class; specifiers to extract the variable data a
bit primative in the AppleScript way of doing things. Oh well, it works.
Thanks for any help you can provide.
Ted