As Dougal said, if there is a problem with functions not executing, variables not being set, etc, then it's down to your code, nothing to do with IE7.
Your browser sends a HTTP request to the web server. From the HTTP request, the web browser determines what resource to process / return to browser. If calling a PHP script, the web server processes the PHP internally and then spits out HTML / CSS / Javascript / image, etc, which the browser then processes. The browser has no influence on the actual PHP processing happening on the server.
If you are experiencing a problem that really is specific to IE7 (I presume you've tested with IE6 / Firefox / Opera?) then I would guess it's either to do with the way IE7 renders the HTML / CSS your script returns, or your script is doing some browser agent sniffing and doesn't work properly when it detects IE7's user agent string.
If you can give any more info on the exact problems your experiencing, we might be able to get to the root of the problem.
Hope that helps!