PHP not parsing on remote server on some files...
In the past day or two I've been spending a lot of time getting a backup file system in place and tried to add additional security to my website. "All of a sudden", php is being parsed in some of my php scripts, but in others, it's simply printing the result to the screen. Is it possible that I somehow changed execute permissions somewhere or might there be another cause? And if so, what's the best way to debug?
Thanks so much,
PS UGGGHHHH...now I'm having the same problem locally. Could I be somehow saving the files in a way that servers interpret the them as text as opposed to php???
Found the problem....But why the heck does it fix it?
I made this post a few hours ago after spending many hours looking for the problem. It turn out that some of my starting tags were "<?" as opposed to "<?php"; they worked fine up until now, but all of a sudden, my hosting server couldn't interpret them. So....
1) I offer this as a warning to other PHP newbies: <? worked fine with my local server but not on my remote server
2) I now pose another question: "What could have changed on my hosting server that makes this an issue all of a sudden?"