#1
  1. No Profile Picture
    Registered User
    Devshed Newbie (0 - 499 posts)

    Join Date
    Sep 2000
    Posts
    4
    Rep Power
    0
    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.

    Thank you!


    ------------------
    Tyler R. Tate
    trtate@cybrport.net
    http://www.cybrport.net
  2. #2
  3. No Profile Picture
    freebsd
    Guest
    Devshed Newbie (0 - 499 posts)
    If a @ character is within a double-quoted string, you need to escape it -> @. If this is not the case, show us your code.
  4. #3
  5. No Profile Picture
    Junior Member
    Devshed Newbie (0 - 499 posts)

    Join Date
    Jul 2000
    Posts
    16
    Rep Power
    0


    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 'abc123@somewhere.com'), you would put a backslash before the '@'
    (like 'abc123@somewhere.com').

    and then this should solve your problem. however, if it doesn't, please post back and we'll help get it sorted out.


    later.


    Cujo




    [This message has been edited by CujoRbd (edited September 25, 2000).]
  6. #4
  7. No Profile Picture
    freebsd
    Guest
    Devshed Newbie (0 - 499 posts)
    >>'abc123@somewhere.com'

    You don't need to for Single-quoted.
  8. #5
  9. No Profile Picture
    Junior Member
    Devshed Newbie (0 - 499 posts)

    Join Date
    Jul 2000
    Posts
    16
    Rep Power
    0
    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.

    ------------------

IMN logo majestic logo threadwatch logo seochat tools logo