Mailing Lists: Apple Mailing Lists

Image of Mac OS face in stamp
 
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: AppleScript In Web Publishing...



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:
http://lists.apple.com/mailman/options/applescript-users/email@hidden
Archives: http://lists.apple.com/archives/applescript-users

This email sent to email@hidden

References: 
 >Re: AppleScript In Web Publishing... (From: Peter Bunn <email@hidden>)



Visit the Apple Store online or at retail locations.
1-800-MY-APPLE

Contact Apple | Terms of Use | Privacy Policy

Copyright © 2007 Apple Inc. All rights reserved.