Hello,
I was wondering if someone could point me in the right direction.
Is their anyway in php that I can change the outlook of an xsl file and include variables from my php script. I have an xsl file, I changed the file extension to php and it worked great in IE but gave me an error in firefox. so I changed it back to xsl. But now the php code will not work because of the file extension.
Dsiembab
5
Junior Poster
Recommended Answers
Jump to PostHave you included the MIME type header to the .php file so that its treated as xsl?
If not, in your .php file put:
header('Content-Type: text/xml');
see: http://www.dpawson.co.uk/xsl/sect2/mimetypes.html
for others.make sure you place the header() call before any output is made, …
All 2 Replies
digital-ether
399
Nearly a Posting Virtuoso
Team Colleague
Dsiembab
commented:
thanks
+1
Dsiembab
5
Junior Poster
Be a part of the DaniWeb community
We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts meeting, networking, learning, and sharing knowledge.