imperatormk Posted September 1, 2012 Share Posted September 1, 2012 Hey, I have a really weird issue. For unknown reasons, when I add a <html> tag to a .php document, and upload it online, it automatically creates script for using 'gostats.com'... Just take a look of the overall code: <?php echo ' <html> </html>';?> ...and the output is: <html><head></head><body><div style="text-align: center;"><div style="position:relative; top:0; margin-right:auto;margin-left:auto; z-index:99999"><!-- no ads --><!-- GoStats JavaScript Based Code --><script src="http://gostats.com/js/counter.js" type="text/javascript"></script><script language="javascript">var _go_js="1.0";</script><script language="javascript1.1">_go_js="1.1";</script><script language="javascript1.2">_go_js="1.2";</script><script language="javascript1.3">_go_js="1.3";</script><script language="javascript1.4">_go_js="1.4";</script><script language="javascript1.5">_go_js="1.5";</script><script language="javascript1.6">_go_js="1.6";</script><script language="javascript1.7">_go_js="1.7";</script><script language="javascript1.8">_go_js="1.8";</script><script language="javascript1.9">_go_js="1.9";</script><script language="javascript"></script><script type="text/javascript">_gos='c2.gostats.com';_goa=637150;_got=5;_goi=1;_goz=0;_gol='web log stats';_GoStatsRun();</script><noscript><a target="_blank" title="web log stats"href="http://gostats.com"><img alt="web log stats"src="http://c2.gostats.com/bin/count/a_637150/t_5/i_1/counter.png"style="border-width:0" /></a></noscript><!-- End GoStats JavaScript Based Code --></div></div></body></html> Tried with DOCTYPE tag, and plethora of other things, and still - this code comes up. I have no idea whatsoever why this happens. If it helps, I *think* I have used this counter on my previous project, but it`s impossible for that to cause problems like this because this is a different domain name (although they are both on the same hosting company). Any suggestions appreciated. Link to comment Share on other sites More sharing options...
dsonesuk Posted September 1, 2012 Share Posted September 1, 2012 Are you sure this is not a counter applied to you pages by the host in some way, I had similar problem when temporary using free host, they would insert adverts etc 1 Link to comment Share on other sites More sharing options...
imperatormk Posted September 2, 2012 Author Share Posted September 2, 2012 No idea, I checked some other sites on the same host - there was nothing like this... Ugh, I am pretty sure it`s their fault though. Hopefully they have some kind of customer support system or something. Link to comment Share on other sites More sharing options...
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now