
JeremyL
Deleted
Mar 31, 2000, 4:30 PM
Post #1 of 2
(282 views)
|
I am sort of new at perl. I have configured alot of scripts but they all used raw html and not the line print. The code I need to modify is as follows. <BLOCKQUOTE><font size="1" face="Arial,Helvetica,sans serif">code:</font><HR> sub show_page { print "Content-type: text/html\n\n"; print "<html>\n"; print "<head><title>$title1<\/title><\/head>\n"; print "<body>\n"; print "<center><h1>$title1<\/h1><p><hr><br>\n"; print "This CGI script will check the validity of links in any static\n"; print "webpage. Type in the url and hit the button to receive a summary\n"; print "of the links on a page. The script will not work on dynamically\n"; print "built pages.<p><hr>\n"; print "<form method=\"POST\" "; print " action=\"$check\?command=check\"><br>\n"; print "Enter the URL of the page to check.<br>\n"; print "<input type=\"text\" name=\"url\" value=\"\" size=50><br>\n"; print "<input type=\"submit\" name=\"submit\" value=\"submit\"><br><\/form>\n"; print "<hr><center><a href=\"http\:\/\/www\.tboneconnection\.com\" target=\"\_blank\">T-Bone Connection<\/a><br>\n"; print "<\/center><\/b>\n"; print "<hr><\/center><\/body><\/html>\n"; } </pre><HR></BLOCKQUOTE> I need to add <BLOCKQUOTE><font size="1" face="Arial,Helvetica,sans serif">code:</font><HR> <div align="center"> <p><a href="http://www.coolresources.com/"><img src="http://www.coolresources.com/images/cr_wh1.gif" width="550" height="77" Border="0"></a><br> <a href="http://www.coolresources.com/"><font face="Arial, Helvetica, sans-serif" size="3">Home</font></a> <font face="Arial, Helvetica, sans-serif" size="3">• <a href="http://www.coolresources.com/tools/index.html">Tools</a> • <a href="http://www.coolresources.com/resources/index.html">Resources</a> • <a href="http://www.coolresources.com/articles/index.html">Articles</a> • <a href="http://www.coolresources.com/news.htm">News</a></font></p> <!-- Begin OrbitCycle Code --> <!--NOEDIT--> <SCRIPT LANGUAGE="JavaScript1.1" SRC="http://banners.orbitcycle.com/code/w3nation/Network_Campaign/0000/b-IOLOX5.js"> </SCRIPT> <NOSCRIPT> <A HREF="http://banners.orbitcycle.com/router/w3nation/Network_Campaign/0000/a-IOLOX5.html" TARGET="_top"> <IMG SRC="http://banners.orbitcycle.com/banners/w3nation/Network_Campaign/0000/a-IOLOX5.html"></A> </NOSCRIPT> <!--/NOEDIT--> <!-- End OrbitCycle Code --> </div> </pre><HR></BLOCKQUOTE> My problem is I don't know how much code needs to go on each new print line and where to put the /\'s I also have another script that is the same way I need to modify so knowing where to put those would be a great help. Thanks Jeremy [This message has been edited by JeremyL (edited 03-31-2000).]
|