i want to write a cgi script like php for apache but with gambas language

which is better approach.

to write it as cgi with

#!/usr/local/bin/gbs3

or with
#!/usr/bin/env gbw3
as server page

thanks !!!

Στις 28/6/2012 22:39, ο/η Benoît Minisini έγραψε:
> Le 28/06/2012 21:22, Demosthenes Koptsis a écrit :
>> I think somewhere i saw it in the past ....
>>
>> can anyone know if we can write scripts running from bash like that:
>> i think gbr3 is not the right bin to do this
>>
>> #!/usr/local/bin/gbr3
>>
>> ' Gambas module file
>>
>> Public Sub Main()
>>      Print "Hello World"
>> End
>>
> You must type '#!/usr/local/bin/gbs3' instead.
>
> gbs3 is a program made in Gambas that allows you to run Gambas scripts.
> It transforms the script file into a Gambas project, compiles it and run
> it. It maintains a cache of compiled scripts so that if you run the
> script another time, it is run directly.
>
> Regards,
>



------------------------------------------------------------------------------
Live Security Virtual Conference
Exclusive live event will cover all the ways today's security and 
threat landscape has changed and how IT managers can respond. Discussions 
will include endpoint security, mobile security and the latest in malware 
threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/
_______________________________________________
Gambas-user mailing list
Gambas-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/gambas-user

Reply via email to