SitePoint Sponsor

User Tag List

Results 1 to 4 of 4
  1. #1
    SitePoint Zealot
    Join Date
    Apr 2001
    Posts
    124
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Hey all.. basically I have a mailform.cgi script that I'd like to include into a ready HTML page, like inside of a table or something.. is there any way to do this?

    For example: I'd like to put the mail form in the middle of my main page..

  2. #2
    SitePoint Member
    Join Date
    May 2001
    Location
    Beaver Creek
    Posts
    1
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Try using SSI
    example <!--#exec cgi="path-to-yourscript.cgi" -->
    just place that where you want the script to run.

  3. #3
    SitePoint Zealot
    Join Date
    Apr 2001
    Posts
    124
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Thanks dBeav, but there's actually one thing I forgot to mention, my main page is .PHP format.. and I need it to stay that way.. although I did try renaming to index.shtml and including <!--#exec cgi="cgi-bin/file.cgi" -->
    but it didn't work..

    Any more suggestions anyone?

  4. #4
    SitePoint Zealot
    Join Date
    Apr 2001
    Posts
    124
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Ok, how about including a HTML page within a PHP page.. ?

    Actually, I have this script that outputs information onto a HTML document.. but because I can't just change that HTML document, I need to somehow insert it into my already-made PHP main page..

    Any ideas?

    This is driving me nutz..

    Thanks in advance..


Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •