• 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
Re: CGI?
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: CGI?


  • Subject: Re: CGI?
  • From: Michelle Steiner <email@hidden>
  • Date: Fri, 13 Apr 2001 16:49:58 -0700

On 4/13/01 2:15 PM, Jed Verity <email@hidden> wrote:

> In order for an AppleScript CGI to be successfully triggered from a web
>page, it must be saved as a stay-open application and placed somewhere in
>the web directory (or in the cgi-bin folder, if specified by your webserving
>software). The name of this stay-open applet should be terminated with
>".acgi".

OK, that I understand.

> The final result of of the CGI should be an HTML page that is constructed
>within the script. A simple example:
>
>on handle_cgi_request
> --do stuff
> return "<HTML>Returned from CGI</HTML>"
>end handle_cgi_request

So, the return value is all the html code that would display a web page?

>This page is displayed in the browser upon completion of the CGI script. It
>could show results of the script, errors, a "thank you for...", a <meta
>http-equiv> to redirect the browser, or anything else you want!

It sounds there like the result will be a separate page in and of itself.
All I want to do is incorporate a counter within an existing page, for
example at the botton of the page, there would be one sentence that says

Since May 1, 2001, a total of <number> people have visited this web page.

With the number incrimenting every time the page is accessed.

--Michelle

----------------------------------------------------------------------
| Michelle Steiner | We're not human beings having a spiritual |
| | experience. We're spiritual beings |
| email@hidden | having a human experience. |
----------------------------------------------------------------------


  • Follow-Ups:
    • Re: CGI?
      • From: Ted Wood <email@hidden>
  • Prev by Date: [OFF] HTTP and HTML (was Re: CGI?)
  • Next by Date: Re: help on something simple?
  • Previous by thread: Re: CGI?
  • Next by thread: Re: CGI?
  • Index(es):
    • Date
    • Thread