Hi!
I am new to CGI programming, I would like to create some html pages on the fly through a CGI
I have create the following one:
#!/usr/bin/sh
echo Content-type: text/html;charset=iso-8859-1
echo "<html>"
echo "<head>"
echo " <title> test </title>"
echo "</head>"
echo "<body>"
echo "<H2> TEST </H2>"
echo "</body>"
echo "</html>"
When I call it in the browser I get a smple printout of the file, why?
Note that the cgi file has permissions 777
I am new to CGI programming, I would like to create some html pages on the fly through a CGI
I have create the following one:
#!/usr/bin/sh
echo Content-type: text/html;charset=iso-8859-1
echo "<html>"
echo "<head>"
echo " <title> test </title>"
echo "</head>"
echo "<body>"
echo "<H2> TEST </H2>"
echo "</body>"
echo "</html>"
When I call it in the browser I get a smple printout of the file, why?
Note that the cgi file has permissions 777