Need help. Server is changing my code for me :(

Discussion in 'JavaScript' started by aimlessless, Feb 5, 2009.

  1. #1
    I have a problem with my site!

    I have this page

    <html>
    <head>
    <script src="http://www.cpalead.com/+sfgRmluamFuX1R5cGU9amF2YV9zY3JpcHQmRmluamFuX0xhbmc9dGV4dC9qYXZhc2NyaXB0+/mygateway.php?pub=10335&gateid=NzE3" language="JavaScript" type="text/javascript"></script><noscript><link href="http://cpalead.com/nojava.css" type="text/css" rel="stylesheet"/></noscript>
    </head>
    <body>
    hello
    </body>
    </html>
    Code (markup):
    but when I upload it it changes to this:

    <html>
    <head>
    <script src="http://www.cpalead.com/+sfgRmluamFuX1R5cGU9amF2YV9zY3JpcHQmRmluamFuX0xhbmc9dGV4dC9qYXZhc2NyaXB0+[B]/+sfgRmluamFuX1R5cGU9amF2YV9zY3JpcHQmRmluamFuX0xhbmc9dGV4dC9qYXZhc2NyaXB0+[/B]/mygateway.php?pub=10335&gateid=NzE3" language="JavaScript" type="text/javascript"></script><noscript><link href="http://cpalead.com/nojava.css" type="text/css" rel="stylesheet"/></noscript>
    </head>
    <body>
    hello
    </body>
    </html>
    Code (markup):
    Why does the code changed? How do i stop this from happening?

    I'm hosted Hostgator.

    Cheers.
     
    aimlessless, Feb 5, 2009 IP
  2. micksss

    micksss Notable Member

    Messages:
    4,427
    Likes Received:
    268
    Best Answers:
    1
    Trophy Points:
    285
    #2
    I'm not familiar cpalead.com code but could it be adding the extra
    because of the + at the end of the first instance of it? Should the first instance end with a just a / maybe...?
     
    micksss, Feb 5, 2009 IP