How do you get CGI happening?

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

I went to
http://www.rapideuphoria.com/cgi.htm
This is the documentation that explains how to do CGI with Euphoria.

 From the above I downloaded the source of
 http://www.rapideuphoria.com/ecoform.htm  

and
 http://www.rapideuphoria.com/economy.txt

Then I renamed "economy.txt" to "economy.exu"
so it fits with
<form method="POST" action="cgi-bin/economy.exu">

And I changed "rds at RapidEuphoria.com" to my email address.
constant emailaddress = "rds at RapidEuphoria.com",

Then I ran ecoform.htm with Opera on my computer.
I filled out the form and clicked on submit.
Got an error message. Could not open the file.

Then I changed
<form method="POST" action="cgi-bin/economy.exu">
to
<form method="POST" action="economy.exu">
This is in the local directory.
Clicked on the refresh button, filled out the form again, clicked on submit.
Gotta blue screen with a bunch of source code on it.
And no email message.

How can I get CGI happening with Euphoria?

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

Search



Quick Links

User menu

Not signed in.

Misc Menu