Can't get dumb webcounter working

Barry Sprajc bsprajc at pacbell.net
Sun Aug 3 01:19:43 EDT 2003


Tyler's correct.

You'll want to check with those hosting your web site, they usually have
particular directories in your home directory where you'll put your scripts,
etc...

Then, you just need to put the correct HTML code in your document.

/barry sprajc

"J. W. McCall" <no at spam.com> wrote in message
news:SU%Wa.148398$xg5.51882 at twister.austin.rr.com...
> Sorry if this is OT, but here's my question:
>
> I wrote a simple python script to increment a counter in a text file,
> and I wanted this script to be accessed whenever an HTML file is
> accessed.  The HTML files and python script are on a shell account on
> UNIX a machine that has support for CGI, Python, etc.  I unfortunately
> don't know much about CGI, since I assume this is what I need to get
> this to work.  All I want to do is to get script to be called when the
> web site is accessed and hopefully insert some output (a number) into
> the HTML.
>
> Any advice, specific instructions, pointers to helpful web resources, or
> recommendations to better newsgroups, if this is too OT here, would be
> greatly appreciated.
>
> Thanks,
>
> J. W. McCall
>






More information about the Python-list mailing list