?
Solved

editing wwwboard.pl

Posted on 1997-03-23
14
Medium Priority
?
1,074 Views
Last Modified: 2013-12-25
When i try to edit wwwboard cgi script.

The only thing I change was everywhere <body> Is i change it to put a background on the message.



It still didn't work but i will give you an "A" for trying.

i fixed what Voodoo tell me to do but it still didn't work.
Ok I will do that now the url will be http://www2.dtc.net/~chrisall/wwwboard2/wwwboard.pl.txt
It was working fine before I made these simple changes.
the url is http://www2.dtc.net/~chrisall/wwwboard2/wwwboard.pl
 sorry I wwrote the wrong url.
I have a working one located at http://www2.dtc.net/~chrisall/wwwboard/wwwboard.html that I didn't change the message.

I already try to put "\"in front of it. Please look at the acturlly script to see before answering



TO answer vodoo question yes It is up to date.
0
Comment
Question by:CYO
  • 9
  • 5
14 Comments
 

Author Comment

by:CYO
ID: 1827819
Edited text of question
0
 
LVL 2

Expert Comment

by:Voodoo
ID: 1827820
Check that you have pre-empted all instances of " characters with a \ character. This sounds like the most likely cause of the problem, given that you mention the inclusion of the background tag.
0
 

Author Comment

by:CYO
ID: 1827821

0
Hire Technology Freelancers with Gigs

Work with freelancers specializing in everything from database administration to programming, who have proven themselves as experts in their field. Hire the best, collaborate easily, pay securely, and get projects done right.

 

Author Comment

by:CYO
ID: 1827822
Edited text of question
0
 
LVL 2

Expert Comment

by:Voodoo
ID: 1827823
I actually referred to the "\" character, not "/", but I'll assume thats what you meant!

I can't answer this question without seeing a copy of the script that you edited. Can you link to a copy of it, so that its chucked back by your server as just plain text? Renaming it to a ".txt" extension , and placing it in your HTML directory will usually do the trick...
0
 

Author Comment

by:CYO
ID: 1827824
Edited text of question
0
 

Author Comment

by:CYO
ID: 1827825
Edited text of question
0
 
LVL 2

Expert Comment

by:Voodoo
ID: 1827826
The variable for $background is not terminated with a closing quote, and semi-colon...

In future, errors like these can be picked up by running it through perl's syntax check system:

perl -wc script.pl

This will highlight any obvious errors in statement construction...

0
 

Author Comment

by:CYO
ID: 1827827
Edited text of question
0
 

Author Comment

by:CYO
ID: 1827828

0
 
LVL 2

Expert Comment

by:Voodoo
ID: 1827829
Is :

http://www2.dtc.net/~chrisall/wwwboard2/wwwboard.pl.txt

Still the current version of the script?
0
 

Author Comment

by:CYO
ID: 1827830
Edited text of question
0
 
LVL 2

Accepted Solution

by:
Voodoo earned 300 total points
ID: 1827831
$background = "<BODY BACKGROUND=\http://www2.dtc.net/~chrisall/gif/back.jpg\" BGCOLOR=\"#FFFFFF\" TEXT=\">;

There is still no close quote!
0
 

Author Comment

by:CYO
ID: 1827832
Edited text of question
0

Featured Post

Free Tool: Path Explorer

An intuitive utility to help find the CSS path to UI elements on a webpage. These paths are used frequently in a variety of front-end development and QA automation tasks.

One of a set of tools we're offering as a way of saying thank you for being a part of the community.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Batch, VBS, and scripts in general are incredibly useful for repetitive tasks.  Some tasks can take a while to complete and it can be annoying to check back only to discover that your script finished 5 minutes ago.  Some scripts may complete nearly …
In threads here at EE, each comment has a unique Identifier (ID). It is easy to get the full path for an ID via the right-click context menu. However, we often want to post a short link within a thread rather than the full link. This article shows a…
Learn the basics of while and for loops in Python.  while loops are used for testing while, or until, a condition is met: The structure of a while loop is as follows:     while <condition>:         do something         repeate: The break statement m…
The viewer will learn how to create and use a small PHP class to apply a watermark to an image. This video shows the viewer the setup for the PHP watermark as well as important coding language. Continue to Part 2 to learn the core code used in creat…
Suggested Courses

809 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question