September 24th, 2000, 01:40 PM
OK, I've been working on setting up a CGI file with embedded HTML for a particular page of my site. I continually was receiving error 500 messages, however, and narrowed down the problem to the @ sign being present in the document. Apparently, whenever the @ sign is followed by two or more letter characters, it throws an error.
I have no idea why this is happening and would like to know how to fix it. So if you have any advice, I'd be appreciative.
The file I've been working on is at: http://www.cybrport.net/spiritual/index.cgi
Note that currently you can access it, because I've replaced all of the @ signs in it. At this point, I'm just trying to get the CGI working properly before I finish all the programing, that's why it appears now just as plain HTML.
Tyler R. Tate
September 25th, 2000, 01:28 AM
If a @ character is within a double-quoted string, you need to escape it -> @. If this is not the case, show us your code.
September 25th, 2000, 04:18 AM
yes, that is right.
if you have the '@' symbol within printed HTML (such as what you are speaking of), you must replace it with '@' or it will return an error.
so, an example would be like if you had an e-mail address in there
(like 'firstname.lastname@example.org'), you would put a backslash before the '@'
and then this should solve your problem. however, if it doesn't, please post back and we'll help get it sorted out.
[This message has been edited by CujoRbd (edited September 25, 2000).]
September 25th, 2000, 05:09 AM
You don't need to for Single-quoted.
September 29th, 2000, 02:12 AM
i was simply denoting it. i probably should have used double-quotes, but i just didn't think about it.
yes, that is right. there is no need to do it within single-quotes.