--On Tuesday, August 27, 2002 18:35:01 -0400 Rich Mooney 
<[EMAIL PROTECTED]> wrote:

> As I understand it, a CGI needs to be in the following format:
>
># ! mc
> on Startup
>     #script
> end Startup
>
> I also have the impression that any script in this CGI had to be between
> "on Startup" and "end Startup".
> So does this mean that one CGI file is one handler and that I can't pass
> arguments to it or can I do something like this:

You can put as many handlers and/or functions in cgi scripts as you need.

>
># ! mc
> on Startup
>     on handler1 param1 param2
>         # do stuff
>     end handler1
>     function dosomething
>         # do stuff
>     end dosomething
> end Startup
>
> Rich Mooney
> Payne Sparkman Mfg.
> [EMAIL PROTECTED]
>
> _______________________________________________
> metacard mailing list
> [EMAIL PROTECTED]
> http://lists.runrev.com/mailman/listinfo/metacard
>



Regards, Andu Novac
_______________________________________________
metacard mailing list
[EMAIL PROTECTED]
http://lists.runrev.com/mailman/listinfo/metacard

Reply via email to