[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: HTTPAPI and CGIDEV2



Hi Henrik,

As far as I know, it should work.  (But I don't think I've tried it.)

Let us know what you discover...


hr@xxxxxxxxxxxx wrote:
>    Hi,
> 
>    not knowing much of HTTPAPI I have a question ...
> 
>    Is it possible to run a HTTPAPI request in the middle of a CGIDEV2
>    program
> 
>    // Parse CGIDEV2 variables
> 
>       search = zhbGetVar('search');
> 
>    // Translate via a HTTPAPI subprocedure that calls Google Translate
> 
>       search2 = i18nGtranslate(search:'es':'en');
> 
>    // do DB lookup
> 
>       wrtsection('result');
> 
>       wrtsection('*fini');
> 
>    Regards
> 
>    Henrik
> 
> 
> 
> ------------------------------------------------------------------------
> 
> -----------------------------------------------------------------------
> This is the FTPAPI mailing list.  To unsubscribe, please go to:
> http://www.scottklement.com/mailman/listinfo/ftpapi
> -----------------------------------------------------------------------

-----------------------------------------------------------------------
This is the FTPAPI mailing list.  To unsubscribe, please go to:
http://www.scottklement.com/mailman/listinfo/ftpapi
-----------------------------------------------------------------------