I'm doing some work for a pal who wants me to change his website a bit. It uses wordpress and some php and css.
When I download any php file via FTP, and save it (even if I have made no changes) then upload it again, when I open the relevant page I get this error:
parse error syntax error unexpected t_string in on line 1
This happens on every php file I download, save and upload. I can download, view, not save and upload and everything works well.
I'm using NetBeans IDE to view the php, I've also tried just using notepad but I'm getting the same problem.
The php files begin like this:
* Template Name: Contact
* This is the template that displays all pages by default.
* Please note that this is the WordPress construct of pages
* and that other 'pages' on your WordPress site will use a
* different template.
* @package WordPress
* @subpackage Optus
* @since Optus 1.0
Can any of you experts help???