April 25, 2024, 02:13:56 PM

News:

IonicWind Snippit Manager 2.xx Released!  Install it on a memory stick and take it with you!  With or without IWBasic!


CGI - Programming

Started by erir, March 07, 2007, 11:41:57 AM

Previous topic - Next topic

0 Members and 1 Guest are viewing this topic.

erir

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



Ionic Wind Support Team

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");

Ionic Wind Support Team

erir

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.


Zen

I did have some CGI classes but I lost them on a previous format :(

I will probably re-write them again though

Lewis