PHP: ...read error...?

OK…so…I uploaded 3 files…eroare.php.txt is the php script (you just change the extension), eroare.txt is the file that is needed by the script (it is also what the browser should output), and 1.txt is what the browser actually outputs…
Can anyone tell what am I doing wrong?
Thank you very much.

PS: this script is just for testing another script which currently isn’t working…until I figure out what the problem is…anyway…you just focus on the uploaded files…