troubleshooting Question

PHP Failure Inside An MS Office Generated Webpage

Avatar of NonComposMentis
NonComposMentisFlag for United States of America asked on
Microsoft OfficeWeb DevelopmentPHP
10 Comments2 Solutions120 ViewsLast Modified:
Greetings Experts,

I have a problem with getting php to work inside a document that was auto-generated by MS Office (Outlook to be precise).  I had some code I wanted to put into the newsletter.  The newsletter is created in stages, one of which is normally to save an Outlook message to an html file.  This time, I decided to put some code in the page.  My Linux web host supports php, and I had previously had the code written and tested, but when put in the newsletter page it did not work.  In fact NO php code works inside the Office generated page.   You can see for yourself at .  Look at the page source and search for the variable $report.  You can literally see the php code!  I suspect this has something to do with all the schemas that were loaded, but then which one and is it necessary?  Or is it something else?

Join our community to see this answer!
Unlock 2 Answers and 10 Comments.
Start Free Trial
Learn from the best

Network and collaborate with thousands of CTOs, CISOs, and IT Pros rooting for you and your success.

Andrew Hancock - VMware vExpert
See if this solution works for you by signing up for a 7 day free trial.
Unlock 2 Answers and 10 Comments.
Try for 7 days

”The time we save is the biggest benefit of E-E to our team. What could take multiple guys 2 hours or more each to find is accessed in around 15 minutes on Experts Exchange.

-Mike Kapnisakis, Warner Bros