i have a problem with my PHP Code. I wrote something simple:
<?php
echo("Hello World");
?>
Now using xampp locally it works. But when I upload (with Filezilla) and run it on my webserver (Apache, PHP 5.3.24) I get following error message:
Fatal error: Call to undefined function phpecho() in /home/www/earthlost/index.php on line 1
I already figured out, that when I save the file with Notepad++, and open it in Notepad, I get following content:
<?phpecho("Hello World");?>
So obviously, Notepad++ saves some linebreaks, that neither Notepad, nor my online Apache detects as such.
I already made sure, that my Notepad++ saves in "UTF-8 with BOM", but it doesn't solve the problem. So, what should I do?