
July 9th, 2007, 03:08 PM
|
|
Registered User
|
|
Join Date: Jul 2007
Location: San Diego
Posts: 1
Time spent in forums: 21 m 33 sec
Reputation Power: 0
|
|
|
Appling Images To A CGI Script
What I’m trying to do to is make the cgi script to look like an HTML pages.
# 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
|