Warrior Forum - The #1 Digital Marketing Forum & Marketplace

Warrior Forum - The #1 Digital Marketing Forum & Marketplace (https://www.warriorforum.com/)
-   Programming (https://www.warriorforum.com/programming/)
-   -   Server side problem? php and xml collision? (https://www.warriorforum.com/programming/653123-server-side-problem-php-xml-collision.html)

paupshop 11th August 2012 04:33 PM

Server side problem? php and xml collision?
 
I am trying to use a php script to add comments to my site.
Was having problems calling php from the html.
customer service installed
.html application/x-httpd-php Mime Type
then the one test page i had commenttest.html worked but all my other pages could not be seen.
when another customer service removed
.html application/x-httpd-php Mime Type
then all pages happy except commenttest.html no longer worked.
I use CSS for styling. I think the xml and php are colliding with the <? calls.
The customer service noted that the pure .php files work on the site.
anybody seen this problem before? any suggestions as to how I can fix it?

paupshop 12th August 2012 03:06 PM

Re: Server side problem? php and xml collision?
 
I removed the XML declaration from my web pages. It was only there because I used a template from an old store website I had years ago. So for now I'm good.

the .html application is needed on the server to call php from within html pages.

If anyone knows or comes across how to use XML and CSS together, I would still be very interested in the information.

Thank you all for your interest.

nobita436 12th August 2012 05:39 PM

Re: Server side problem? php and xml collision?
 
If you can share the source code of what you did then it would be much more easier for us to say something about this.
Otherwise i can not understand it properly.


All times are GMT -6. The time now is 08:09 AM.