Jump to content

PHP Strange Behavior or Server?


imperium2335

Recommended Posts

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! :wtf: 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

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.

 

 

 

Archived

This topic is now archived and is closed to further replies.

×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.