Click to See Complete Forum and Search --> : Appling Images To A Cgi Script, Making cgi scrip look like an html page


CVLCC
07-11-2007, 09:16 PM
I Don't know if this is the right place to put this Question?

What I’m trying to do to is make the cgi script to look like an HTML pages.
Same as this web page @ http://cvlcc.com :confused:
# Print Follow Up HTML
sub follow_up {

print ("Content-Type: text/html\n\n");
print ("<html><head><Bg><../../html/images/bg.gif></Bg>\n");
print ("<Logo>../../html/images/cloud.gif</title></head>\n");
print ("<body><h1>Thank You For Leaving Your Message!</h1>\n");
print ("Your message has been posted.<hr>\n");
print ("Here is the message you posted:<p>\n");
print ("<b>$INPUT{'name'}</b><br>\n");
if ($INPUT{'email'}) {
print ("<a href=\"mailto:$INPUT{'email'}\">$INPUT{'email'}</a><br>\n");
}
Thank You For Your Time

William