We help IT Professionals succeed at work.

editing wwwboard.pl

CYO
CYO asked
on
Medium Priority
1,096 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.
Comment
Watch Question

CYO

Author

Commented:
Edited text of question

Commented:
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.
CYO

Author

Commented:

CYO

Author

Commented:
Edited text of question

Commented:
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...
CYO

Author

Commented:
Edited text of question
CYO

Author

Commented:
Edited text of question

Commented:
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...

CYO

Author

Commented:
Edited text of question
CYO

Author

Commented:

Commented:
Is :

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

Still the current version of the script?
CYO

Author

Commented:
Edited text of question
Commented:
$background = "<BODY BACKGROUND=\http://www2.dtc.net/~chrisall/gif/back.jpg\" BGCOLOR=\"#FFFFFF\" TEXT=\">;

There is still no close quote!

Not the solution you were looking for? Getting a personalized solution is easy.

Ask the Experts
CYO

Author

Commented:
Edited text of question
Access more of Experts Exchange with a free account
Thanks for using Experts Exchange.

Create a free account to continue.

Limited access with a free account allows you to:

  • View three pieces of content (articles, solutions, posts, and videos)
  • Ask the experts questions (counted toward content limit)
  • Customize your dashboard and profile

*This site is protected by reCAPTCHA and the Google Privacy Policy and Terms of Service apply.

OR

Please enter a first name

Please enter a last name

8+ characters (letters, numbers, and a symbol)

By clicking, you agree to the Terms of Use and Privacy Policy.