CGI script in html - Programmers Heaven

Howdy, Stranger!

It looks like you're new here. If you want to get involved, click one of these buttons!

Categories

CGI script in html

How do i place a cgi script call into a html document so the cgi appears
within a table in the html document?

Thanx

Comments

  • JonathanJonathan Posts: 2,914Member
    Hey,

    1) Write a CGI script that gives just the output you want and use SSI (server side includes) to include it where you want on the server).

    2) Use PHP/ASP which allow you to write CGI scripts amongst normal HTML.

    Hope this is what you meant,

    Jonathan

    ------------------------------------------
    Count downloads from your site for free!
    http://www.downloadcounter.com/

  • medina_raptormedina_raptor Posts: 6Member
    Hi

    Perl is another option
    Carlos
    : How do i place a cgi script call into a html document so the cgi appears
    : within a table in the html document?
    :
    : Thanx
    :
    :



  • JonathanJonathan Posts: 2,914Member
    Hi,

    Yeah, you could write the CGI in Perl (I would 'cus I love Perl :) ), but you'd still have to use a SSI directive in the table cell to include it. I don't know of a way of writing Perl directly amongst HTML code. Anyone else know of any common way this is done? I haven't seen it before, but it'd be cool if you could.

    Jonathan

    : Hi
    :
    : Perl is another option
    : Carlos
    : : How do i place a cgi script call into a html document so the cgi appears
    : : within a table in the html document?
    : :
    : : Thanx
    : :
    : :
    :
    :
    :
    :


    ------------------------------------------
    Count downloads from your site for free!
    http://www.downloadcounter.com/

Sign In or Register to comment.