Re: CGI?
Re: CGI?
- Subject: Re: CGI?
- From: Michelle Steiner <email@hidden>
- Date: Fri, 13 Apr 2001 13:05:08 -0700
On 4/13/01 11:13 AM, cris <email@hidden> wrote:
>
>> At the end of the handler you have to return back something to the
webserver
>
>> (which will pass it to the browser). You need to specify the type of
>
>> response in the header. In this case it will be a '200 OK' which looks so:
>
>>
>
>> property CRLF : (ASCII character 13) & (ASCII character 10)
>
>> property http_OK_header : "HTTP/1.0 200 OK" & CRLF & "Server: MacHTTP" &
>
>> CRLF & "MIME-Version: 1.0" & CRLF & "Content-type: text/html" & CRLF & CRLF
>
>
>
> This goes in the header of the HTML page?
>
Yes, the HTML page created within your CGI, passed to the webserver which
>
will send it to the browser.
I think I understood up to here, and after it, but what HTML page created
within my CGI?
Is the CGI the Applescript?
It's just not making sense to me at all.
--Michelle
----------------------------------------------------------------------
| Michelle Steiner | We're not human beings having a spiritual |
| | experience. We're spiritual beings |
| email@hidden | having a human experience. |
----------------------------------------------------------------------