CGI?
CGI?
- Subject: CGI?
- From: Michelle Steiner <email@hidden>
- Date: Thu, 12 Apr 2001 11:00:42 -0700
I'm trying to write a CGI to display a counter in a web page. This is
the script I've written:
set FileID to open for access file "HD:counter" with write permission
if (get eof FileID) is not 0 then
set NumberOfAccess to read FileID
else
set NumberOfAccess to 0
end if
set NumberOfAccess to NumberOfAccess + 1
set eof FileID to 0
write (NumberOfAccess as text) to FileID
close access FileID
NumberOfAccess
Now, what do I have to do in order to get the number to display in the
web page? I'm using Claris Home Page to write the HTML and am using
Personal Web Sharing to publish the page.
--Michelle
----------------------------------------------------------------------
| Michelle Steiner | We're not human beings having a spiritual |
| | experience. We're spiritual beings |
| email@hidden | having a human experience. |
----------------------------------------------------------------------