Hi.
I had the same problem. To solve it, do the following:
Delete any “.php” files.
Go to your theme folder and open the index.php file on that location. The top lines should have been “hacked”. If possible replace the file with a backup, otherwise delete those lines at the top (keep a backup, just in case).