IonicWind Software

Aurora Compiler => General Discussion => Topic started by: erir on March 07, 2007, 11:41:57 AM

Title: CGI - Programming
Post by: erir on March 07, 2007, 11:41:57 AM
Hi,

I am new here and I would like to ask whether it is possible to write CGI programms with Aurora. There seems no
getenv() function in the Aurora standard liibrary. Any ideas?

Regards,

erir


Title: Re: CGI - Programming
Post by: Ionic Wind Support Team on March 07, 2007, 06:45:59 PM
Are you just trying to get the query string?  If so then use the C runtime:

declare cdecl import, getenv(STRING name),STRING;
query = getenv("QUERY_STRING");

Title: Re: CGI - Programming
Post by: erir on March 08, 2007, 01:23:46 AM
Quote from: Paul Turley on March 07, 2007, 06:45:59 PM
Are you just trying to get the query string?  If so then use the C runtime:

declare cdecl import, getenv(STRING name),STRING;
query = getenv("QUERY_STRING");



Great! Many thanks! That is what I am searching for.

Title: Re: CGI - Programming
Post by: Zen on March 08, 2007, 06:08:45 AM
I did have some CGI classes but I lost them on a previous format :(

I will probably re-write them again though

Lewis