|
Hi,
I got home from work this morning to find that my index.php had been 'hacked' and replaced with a load of junk.
The original code was in a file called something like 'localdata.php' and was all intact.
All that was in the php was a redirect header to redirect to a sub-dir, which was all still there and had no problems.
Just wondering if anyone can shed any light on what they think happened and more importantly how to stop it happening again. Is it something I can do or will it be down to my host? I use a VPS with 'Power VPS' who have been very good.
Is there any way I can protect the code, it's literally 2 lines but it's not nice to see your index page trashed!
TIA
Simon
|