Why would one file, which was made by, oh, I don't know, my teacher, work fine when uploaded to the server I need to store it on for my grade but when I try opening it on my local lamp server, it completely breaks?

Here's a picture of what it looks like when I open it:


And here's a picture of what it looks like on the server:


I've checked permissions & nothing seems to help. I've opened other php files & they work perfectly. And also ran phpinfo() just for fun.

8 Years
Discussion Span
Last Post by soley

Is the directory structure the same for both servers? and are the required files in the same locations?

They aren't the same, however, I just tried it on my personal server & it works fine. So, what I'm going to do is not worry about developing it locally on my machine, but just ssh/ftp into my box when I need to.

Thanks for the advice, though. :D

This topic has been dead for over six months. Start a new discussion instead.
Have something to contribute to this discussion? Please be thoughtful, detailed and courteous, and be sure to adhere to our posting rules.