PDA

View Full Version : Odd php/CMS issue...


PhilW
10-12-2007, 06:48 PM
I have a weird issue with some php pages and viewing them in Dragonfly CMS (CPGNUKE).

When I have the CMS use an iframe to display a php page with an .html file extension, it shows the resultant html code as if you are seeing it just after the php parser, not displaying the actual page (like if you viewed the source code of a php page from the web browser). It worked correctly on my old host.

I did find a quick fix by just renaming the files I need to iframe display in the CMS system by setting the file extension to .php

Anyone have any ideas?

ManagerJosh
10-13-2007, 01:46 AM
It would be helpful to see some of the HTML markup :)

PhilW
10-14-2007, 06:57 PM
Where would the fun be in that? :P

Which code, the original PHP, or the result after it's been parsed by the server, but only presenting the resultant html code to the screen?

ManagerJosh
10-14-2007, 09:13 PM
well PHP code would be nice :p

PhilW
10-17-2007, 07:13 AM
Playing around with some things... wierd..

It works now when I revert it back to .html file extensions... so I guess never mind?

ManagerJosh
10-17-2007, 07:48 PM
Haha :) Works for me :D