Re: cgi question

new topic     » goto parent     » topic index » view thread      » older message » newer message
sergelli said...

hello all

In a linux server in the web, I call a Euphoria program, called euCode and sending a variable called "name" and its value. For example, to do this, I open a web Brouser with this address and parameters:

www.servidor.com.br/euCode?name=Euphoria

Does anyone know how to capture the value of this variable within the code "euCode.ex" as is done in PHP?

I believe that they are passed in as environment variables. So, you should try:

object name = getenv("name") 

Note that I used an object, because if it doesn't exist, you'll get an atom back from getenv().

You might also take a look at the submitted CGI libraries at rapideuphoria.com.

Matt

new topic     » goto parent     » topic index » view thread      » older message » newer message

Search



Quick Links

User menu

Not signed in.

Misc Menu