Code within php.5 page is missing when uploaded

This one has me completely baffled (hence my username).

I have a client that manages their own server. They just upgraded to IIS7, and installed PHP 5.3 at the same time.

There are 2 sites on the server, both very similar, with a lot of the same scripts. Both write to their OWN MySQL databases.

One site works fine.

The other site is missing the last 46 lines of code in one of the directories for each page. We’ve uploaded the page several times; we’ve manually copied the code in via notepad, too. Each time, though, the page is missing code when uploaded.

Does anyone have any guesses why this could be happening? Is there a PHP setting that would limit the size of the file, or something?

I’m clueless here. Any help or suggestions would be appreciated.

How big are the files for the site in question? They might be exceeding IIS 7’s default maximum upload size.

The first one I’m looking at is only 11 KB. The largest file of the group is 321 kb.