Re: AppleScript In Web Publishing...
Re: AppleScript In Web Publishing...
- Subject: Re: AppleScript In Web Publishing...
- From: Doug McNutt <email@hidden>
- Date: Mon, 5 Mar 2007 14:02:33 -0700
At 13:34 -0600 3/5/07, Peter Bunn wrote:
>Would a given (single) CGI script be used to - say - process all forms on
>a given web page, or would individual form input trigger different CGI
>scripts?
>
>I'm (re-) posing for a certain Rodin sculpture.
Since you're a thinker folks should excuse us but we are getting off topic.
HTML forms have an ACTION verb in them which calls out a URI to which the form data will be either POSTed or GETed when the SUBMIT button is poked. That URI almost always points to a CGI script. Whether or not it's same for all forms on a page is up to you.
Yes, it's common to have a single CGI handler that runs an entire site but that's usually a way of gaining control such as login and remember state rather than the easiest way to do simple things.
As for AppleScripting a CGI handler. It's possible but your web server will have to run on a Mac. Perl and php will run on any UNIX-like box. O'Reilly is a good source of information that can probably be consumed while posing.
--
--> On the eighth day, about 6 kiloyears ago, the Lord realized that free will would make man ask what existed before the Creation. So He installed a few gigayears of history complete with a big bang and a fossilized record of evolution. <--
_______________________________________________
Do not post admin requests to the list. They will be ignored.
AppleScript-Users mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
Archives: http://lists.apple.com/archives/applescript-users
This email sent to email@hidden