[Xitami] perlssi not passing args?

Stephen Graybeal xitami@lists.xitami.org
Thu, 3 Oct 2002 01:21:37 -0400


> > working HTML url: www.graysoftenterprises.com/default.html
>
> This works fine and isn't slow.
> > messed-up SHTML url: www.graysoftenterprises.com/default.shtml
>
> This returns "An internal Visual Basic error has occurred in
> \default.shtml. File not found (error #53), GSECntr"
>
> So I would say VB is getting called, but isn't getting some slice of
> information.
>
> Visual Basic is _NOT_ a good language for CGI. Oh, I've done it and
> got a paycheck. But I had to study the sample VB application that
> came with Xitami to find out how to get the CGI arguments and STDIN.
> MS BASIC and VB really don't like to do that.


The reason for that error output is my program relies on the argument
"code=default" to open a file (default.count) with a number in it.  I get
the file not found error because no arguments are making it to the program.
It's trying to open ".class" which doesn't exist.

It's slow because the server sends the html file to the client machine.  The
client machine reads the html and sends a request back to the server which
then executes the CGI and sends the input of the iframe back.  That is two
extra steps, which isn't too bad unless you look at it as TWICE the steps.
Just don't like inefficiency.  And I have a module that gets the STDIO just
fine (this is obvious from the working iframe).

This software isn't keeping records online, it's just a website to market a
client-side database application.  All the CGI really is is a counter I
wrote but more than anything I'm trying to get my feet wet in CGI.  I know I
can find generic counters, but the point is that this SHOULD work fine.

Surely someone out there has successfully executed a CGI with #exec cgi=""

Stephen Graybeal
graybeal@bellatlantic.net
webmaster@graysoftenterprises.com