The \" indicates to perl that you want a real double quote, since perl uses
the double quotes for delimiting strings.
The "document contains no data." usually means there is an error in the
script, which causes perl to abort the script
On 19 Jul 98, at 11:41, Suzanne wrote:
> I'm trying to customize the look of a guestbook show page on an NT server.
> In line six, it works OK if I change the font size and add the blockquote,
> but if I change the font color, either with color="#\6699CC\" or
> color="#6699CC" I get an error message, "document contains no data."
>
> Can you explain what parameters I can change:
> background color?
> font styles?
> font colors?
> Can I add a graphic with the company logo at the top?
>
> If I can change stuff, how exactly do I do it?
>
> What does the "\" in <body bgcolor=\"#FFFFFF\"> mean?
>
> Thanks, Suz
>
>
> $gbook = "guestbook.txt";
> &PrintHeader;
> print "\n\n\n";
> print "<html><head><title>Guest Book</title></head>\n";
> print "<body bgcolor=\"#FFFFFF\">\n";
> print "<center><font size=+3 color="#\6699CC\">Guest
> Book</font><blockquote><hr></center>\n";
>
> #read this file
> if(open(FILE, "$gbook"))
> {
> $line = ".";
> while ($line ne "")
> {
> $line = <FILE>;
> print $line;
> }
> close(FILE);
> }
> else
> {
> print "Can't open file\n";
> }
>
>
> print "\n\n";
> print "<hr width=50% align=center></blockquote>\n";
> print "</body></html>\n";
>
>
> exit;
>
>
> sub ShowError
> {
> print "<br><br><h2><i>Guest Book Form Error</i></h2><br>";
> print "We are unable to process your information due to the
> following:";
> print "<br><br>";
> print "<h2>$errorMessage</h2>\n";
> print "<center>";
> print "Please fill out the form properly.";
> print "</body></html>";
> exit;
> }
>
> exit;
>
> Suzanne Stephens, Stephens Design; Ashland, Oregon
> 541-552-1192 http://www.KickassDesign.com/
> CyberCircus Grand Prize Winners http://www.thecybercircus.com/
> Web Page Design for Designers Design Resources:
> http://www.wpdfd.com/wpdres.htm Clip Art:
> http://www.freeimages.com/stephens/
>
>
> ____________________________________________________________________
> --------------------------------------------------------------------
> Join The Web Consultants Association : Register on our web site Now Web
> Consultants Web Site : http://just4u.com/webconsultants If you lose the
> instructions All subscription/unsubscribing can be done directly from our
> website for all our lists.
> ---------------------------------------------------------------------
--Lee
Nurses' Call Administrator http://www.nurses-call.org
Design West http://www.designwest.com
Web Weaving Wizard http://www.wizards.net
____________________________________________________________________
--------------------------------------------------------------------
Join The Web Consultants Association : Register on our web site Now
Web Consultants Web Site : http://just4u.com/webconsultants
If you lose the instructions All subscription/unsubscribing can be done
directly from our website for all our lists.
---------------------------------------------------------------------