After upgrading from the last v 4x version of PHP to the most recent v 5.2.1, the site runs but has some odd problems that I cannot seem to solve. I hope someone can help quickly as I am in a bind!
First, it loads a JavaScript menu which also contains SQL and PHP in order to be dynamic. The PHP code for loading it is as follows:
The menu appears but, except for a couple hard-coded entries, it's empty and when viewing the source code of the page, it shows <?php $ItemName ?> rather than the actual values.
Also, the site has a facility for viewing uploaded MS-Word, MS-Excel (etc) documents in a new browser window. Although the mime-type is being sent to the header and they WERE working, now they load but the browser is empty.
One last thing, phpinfo() shows that the magic_mime file is invalid and has not loaded. I realize that magic_mime has been depreciated but I am not sure how else to do the job as I have never used PEAR.
This is running on IIS6, Windows 2003 Server.
Any ideas? Thanks.
Don
Experienced in HTML, Perl, PHP, VBScript, PWS, IIS and Apache and MS-Access, MS-SQL, MySQL databases
First, it loads a JavaScript menu which also contains SQL and PHP in order to be dynamic. The PHP code for loading it is as follows:
Code:
if ($GetLogin) {
ob_start();
include("misc/system_menu.js");
$contents = ob_get_contents();
ob_end_clean();
echo "<script type=\"text/javascript\">" . $contents . "</script>";
}
The menu appears but, except for a couple hard-coded entries, it's empty and when viewing the source code of the page, it shows <?php $ItemName ?> rather than the actual values.
Also, the site has a facility for viewing uploaded MS-Word, MS-Excel (etc) documents in a new browser window. Although the mime-type is being sent to the header and they WERE working, now they load but the browser is empty.
One last thing, phpinfo() shows that the magic_mime file is invalid and has not loaded. I realize that magic_mime has been depreciated but I am not sure how else to do the job as I have never used PEAR.
This is running on IIS6, Windows 2003 Server.
Any ideas? Thanks.
Don
Experienced in HTML, Perl, PHP, VBScript, PWS, IIS and Apache and MS-Access, MS-SQL, MySQL databases