Euphoria as script language for IIS
- Posted by Derek Parnell <ddparnell at bigpond.com> Dec 22, 2004
- 520 views
Has anyone had success using Euphoria as a scripting language running under IIS? I thought that all I had to do was create a .EX file that output valid HTML to stdout. Here is the program I'm trying ...
without warning puts(1, "Content-type: text/HTML\n\n" & "<html><head>\n" & "<title>Sample Title</title>\n" & "</head>\n" & "<body text=blue>\n" & "<H1 align=center>Sample Header</H1>\n" & "<TABLE BORDER=1 BGCOLOR=pink>\n" & "<tr><td>Col One</td>\n" & "<td>Col two</td>\n" & "<td>Col Three</td>\n" & "</tr>" & "<tr BGCOLOR=cyan><td>ABC</td>\n" & "<td>def</td>\n" & "<td>qwerty</td>\n" & "</tr>" & "</table>\n" & "</body>" )
This is placed in the INetPub\Scripts folder as "t1.exs". I have 'exwc' as the associated program for the "exs" file type. In my browser I type in "http://localhost/scripts/t1.exs" The output in the browser a listing of the program as if it was a text file. It doesn't run the Euphoria program. What am I missing? -- Derek Parnell Melbourne, Australia