• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
WWW?sdoc - how do I read PATH_INFO variable?
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

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


  • Prev by Date: Re: Add command to Contextual Menu?
  • Next by Date: linimg to moving target with folder actions
  • Previous by thread: Re: SatImage term conflict with FMP
  • Next by thread: linimg to moving target with folder actions
  • Index(es):
    • Date
    • Thread