Forum Moderators: open

Message Too Old, No Replies

Parameters to CGI function

Parameters to CGI function with anHTML link

         

magdai

5:33 pm on Mar 11, 2005 (gmt 0)

10+ Year Member



Is it possible to send parameters to a CGI-function with a link? if not, how can I make it?

example: <a href="index.html?param1=test1" target="_top">test</a>

rocknbil

6:16 pm on Mar 11, 2005 (gmt 0)

WebmasterWorld Senior Member 10+ Year Member



You can send it like that, which is the GET method, or in a form, which is generally a POST method. How it is handled depends on the program used to perform the "cgi-function." Usually that's a program on the server in perl, php, asp, cold fusion, or some other server-side programming language.

magdai

6:39 pm on Mar 11, 2005 (gmt 0)

10+ Year Member



Thanks for answering.

So basically 'index.html' needs to include a program that can handle the get method.