Thauwa Posted January 11, 2010 Share Posted January 11, 2010 Hello people. I want some help trying to find out how to stop a java script from running on my php page. I did not put that link there and it leads to a virus, it appears right after the <head> tags of my page and does not allow anyone to pass. So is there a way that I could prevent the script from running, like use php to prevent that link from appearing?? Thanks, and here's the script: <script src=http://picobellVIRUSlink i deleted link!!.com ></script> Quote Link to comment Share on other sites More sharing options...
oni-kun Posted January 11, 2010 Share Posted January 11, 2010 Hello people. I want some help trying to find out how to stop a java script from running on my php page. I did not put that link there and it leads to a virus, it appears right after the <head> tags of my page and does not allow anyone to pass. So is there a way that I could prevent the script from running, like use php to prevent that link from appearing?? Thanks, and here's the script: <script src=http://picobellVIRUSlink i deleted link!!.com ></script> I assume you're a beginner from how you're running in to that specific problem. BUT. Is the <head> data placed there by form, or FTP? If it appeared there out of nowhere, most likely someone used an XSS attack, or physically found a security hole and modified your files. If you're wanting to get rid of it from a form, use the strip_tags function, else change your passwords... Quote Link to comment Share on other sites More sharing options...
jeremy0 Posted January 11, 2010 Share Posted January 11, 2010 bad, bad, bad. not sure if this was the same trying to insert into this forum... Quote Link to comment Share on other sites More sharing options...
Thauwa Posted January 11, 2010 Author Share Posted January 11, 2010 Thanks for the advice. My situation is that the erroneous code is not 'in' the coding, it virtually comes into being every time I visit the page. And I will change my passwords. . Thanks for strip_tags() anyway. Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.