[Gambas-user] CGI program in Gambas

Benoît Minisini gambas at ...1...
Sat Aug 1 17:25:37 CEST 2009


> Hello Benoit,
>
>
> I would rewrite some cgi Unix script in Gambas language but I don't
> find any documentation
> to begin this project.
>
> Can you give me an example of how to write in this king of Gambas
> project please ?
>
> Thank you in advance.
>
>
>
> Olivier Cruilles
> Mail: linuxos at ...1896...
>

Yes, there is no example of that. I have told someone in the past that I will 
do it, but I didn't have time.

To write a CGI in Gambas, you have two possibilities:

1) Write it the same way as you write it in C. I did that with the quick & 
dirty Gambas wiki.

2) Use the gb.web component, that encapsulate CGI variables in a ASP-like 
interface.

What do you prefer?

-- 
Benoît




More information about the User mailing list