[solved] Okay, am I going insane?
Posted: Tue Jun 15, 2004 11:17 am
Here is my little mystery:
I have a little include file on my webpage, which I use to display the "news" of the month. The file's on PHP (as well as several other pages on the site) and it takes data (the news of the month) from a mySQL database.
So far so good. But when I try to retrieve the file via FTP, I don't get the file with the PHP code, I get the HTML code. Somehow, for some reason, the file's parsed BEFORE it's sent to me, so all I see is plain HTML. It happens ONLY with that file. And yes, I'm 100% sure the file's PHP. I'm truly baffled by this.
Any help, please?
I have a little include file on my webpage, which I use to display the "news" of the month. The file's on PHP (as well as several other pages on the site) and it takes data (the news of the month) from a mySQL database.
So far so good. But when I try to retrieve the file via FTP, I don't get the file with the PHP code, I get the HTML code. Somehow, for some reason, the file's parsed BEFORE it's sent to me, so all I see is plain HTML. It happens ONLY with that file. And yes, I'm 100% sure the file's PHP. I'm truly baffled by this.
Any help, please?