Forum Moderators: open

Message Too Old, No Replies

Integrating HTML with CGI

Just some info needed

         

Agzl

6:32 pm on Mar 5, 2006 (gmt 0)

10+ Year Member



is it posible to intergrate cgi with html?

kaled

6:41 pm on Mar 5, 2006 (gmt 0)

WebmasterWorld Senior Member 10+ Year Member



Your question is too vague.

Javascript with Ajax can produce a page that interacts with the server.

A cgi program can output an html page.

What do you mean by "integrate"?

Kaled.

maccas

7:08 pm on Mar 5, 2006 (gmt 0)

10+ Year Member



You can (depending on your server configuration) use SSI to include a cgi script in a .html page, is that what you mean?

Agzl

7:55 pm on Mar 5, 2006 (gmt 0)

10+ Year Member



Kaled i mean i would like the cgi script to output html files

kaled

11:47 pm on Mar 5, 2006 (gmt 0)

WebmasterWorld Senior Member 10+ Year Member



Certainly, yes - a cgi script can output an html page.

Basically, in perl, you use print statements to construct the page (and the http headers). There are also libraries to make this easier but I haven't bothered to use them.

You can write cgi programs in other languages too.

What do you actually want to do?

Kaled.

Agzl

4:39 pm on Mar 6, 2006 (gmt 0)

10+ Year Member



create a simple login with control panel