I'm not sure this is the right place to post this, but here it goes...
There seems to have been something that happened on July 26th - I haven't touched these files in months, yet there's this code added in the most common PHP files (like index.php, login.php) and EVERY javascript file
php is as follows:
<?
#0f2490#
echo('<img src=\"http://localhost/\" >');
#/0f2490#
?>
and on all my javascript files:
/*0f2490*/
document.write('<img src="http://localhost/" >');
/*0f2490*/
The exact same issue as this guy (on the same date) - http://translate.google.com/translate?hl=en&sl=de&u=http://www.awardcafe.de/printthread.php%3Ftid%3D1513&prev=/search%3Fq%3D0f2490%2Blocalhost%2B0f2490%26safe%3Doff%26client%3Dfirefox-a%26rls%3Dorg.mozilla:en-US:official%26channel%3Dfflb%26biw%3D1162%26bih%3D581
Was my server compromised? What steps can I take to ensure this doesn't happen again?
Its on a VPS I manage, so I wouldn't be too surprised if I ****ed something up, let me know what (if any) access logs you think may be relevant or even where to begin with this problem.
Thanks!