Sunday, July 4, 2010

More on MAMP to WAMP migration - fpdf Scripts

Not sure if this is a MAMP to WAMP issue or a PHP 5.2 to 5.3 issue, since both changed at the same time but here is what I found while migrating fpdf scripts:

1. MAMP likes the &= syntax. Change to = in WAMP. If you don't, you will get a lengthy error message.
2. If you open a pdf file and view it in the Internet Explorer Browser, and get a whole lot of gibberish characters, if you close your browser and reopen it and try again, the pdf will open normally. It either has something to do with cacheing or with IE security settings in tying browser objects to Adobe Reader, a third-party application. I have also read that it is a IE6 bug, although it happened to me in IE7. If it persists, perhaps switching to firefox would help, I never did that experiment.

No comments:

Post a Comment