cgi

cgi

Posted by: andyrimmer
Posted on: 2009-07-16 10:37:00

Hi

How do I set up html to call a cgi script?

Andrew

Toiletrage.. a place for friends to bitch

Re: cgi

Posted by: Atropos7
Posted on: 2009-07-17 09:58:00

In reply to:

How do I set up html to call a cgi script?


I'm not sure what you mean by calling a CGI script.

<a href="http://toiletrage.co.uk/script.cgi">Click here to run the script!</a>

However if you web page has a form on it then the tag will be:

<form action="http://toiletrage.co.uk/script.cgi" >

You can learn more about forms at w3schools.com - HTML Forms and Input

Hope that helps!



Customer since 2000 cool openvein.org

Re: cgi

Posted by: dgatwood
Posted on: 2009-07-28 22:22:00


Or there's also <!--#exec cgi="/path/to/whatever.cgi"--> for inline execution, assuming that the server allows it, assuming the appropriate AddHandler line is in place in .htaccess or httpd.conf to enable server parsing on the file in question, etc.


Tags: cgi script