imperium2335 Posted September 21, 2009 Share Posted September 21, 2009 Hi, I have come across something very odd, I have made a new website and uploaded it no problem. Three parts of the the site are loaded into the page via an include, header, right panel and footer. But I found that strange bits of random code were appearing at the end of the included files so i would get some thing like this at the end of,say the right panel which contains news etc: <p class=\"news\"><a href=\"producer-of-wheat-fiber.html\">Online contact form</a></p> </div>" ;}?>"news\"><a href=\"producer-of-wheat-fiber.html\">Online contact form</a></p> </div>" ;}?>> what you see on the page is then everything that should be there followed by code: "news\">Online contact form " ;}?>> It should just be: <p class=\"news\"><a href=\"producer-of-wheat-fiber.html\">Online contact form</a></p> </div>?> With no code showing. Its in a php echo because the content outputted is based on the language the user chooses. A temporary fix is to just re upload it, then the anomaly disappears but after an hour or two its back again! and I know for sure know one else has the ftp info for the site. But today I downloaded the included file to find that the erroneous code was in the file. I have no idea what is going on, any help is much appreciated! Link to comment https://forums.phpfreaks.com/topic/174950-php-strange-behavior-or-server/ Share on other sites More sharing options...
redarrow Posted September 21, 2009 Share Posted September 21, 2009 yep, common now, it the server setup from the host, tell them ok mate.... some people say it a hosting virus, others it a hack using $_GET['variable'], and some even say, it hanging off of css, very wearied but loads complaining. Link to comment https://forums.phpfreaks.com/topic/174950-php-strange-behavior-or-server/#findComment-922023 Share on other sites More sharing options...
imperium2335 Posted September 21, 2009 Author Share Posted September 21, 2009 Hi, thanks for your reply. I can rule out the get exploit because the site gets 0.5 people a day as its pretty new hehe. What do you mean about the css? Link to comment https://forums.phpfreaks.com/topic/174950-php-strange-behavior-or-server/#findComment-922029 Share on other sites More sharing options...
redarrow Posted September 21, 2009 Share Posted September 21, 2009 I read there a virus that some how jumps on web site css, set on a page very wearied. so in essence it all down to the host docent matter you had the code live it there doggy server. it like we got a bunch of advertising marketing people, uploading virus to host, to show there web sites off. i am not sure but some say re create a new password for your host,and it all goes away something like that. Link to comment https://forums.phpfreaks.com/topic/174950-php-strange-behavior-or-server/#findComment-922033 Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.