aspose file tools*
The moose likes PHP and the fly likes Am I the only one who can't get Chrome to work with PHP generated HTML? Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Languages » PHP
Bookmark "Am I the only one who can Watch "Am I the only one who can New topic
Author

Am I the only one who can't get Chrome to work with PHP generated HTML?

gilbert engle
Greenhorn

Joined: Jun 03, 2009
Posts: 24
// here's a test URL
http://newjazz.net/php/index.php

If you use Firefox or IE you get a page with images and links. If you use Chrome you get the HTML source code displayed in the window without interpretation. I tried

<?php
header('Content-type: text/html');

but it didn't help. I just get plain HTML code displayed in the window. Anybody else having this same problem? I should have the latest version of Chrome.

thank you
Gregg Bolinger
GenRocket Founder
Ranch Hand

Joined: Jul 11, 2001
Posts: 15299
    
    6

Works fine for me in Chrome 22.0.x on OSX


GenRocket - Experts at Building Test Data
gilbert engle
Greenhorn

Joined: Jun 03, 2009
Posts: 24
This is the original author. I tried Chrome on a different machine and it worked properly. Both systems are using Windows 7. Who knows what's wrong with the original machine.
Pete Rutters
Greenhorn

Joined: Oct 16, 2012
Posts: 6
Any strange plugins active?
gilbert engle
Greenhorn

Joined: Jun 03, 2009
Posts: 24
OK, who knows what the deal was but Chrome is now working properly for me. Apparently I was experiencing some sort of transient error.

Windows 7, 64 bit, 4GB, Dell Inspiron N411Z
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: Am I the only one who can't get Chrome to work with PHP generated HTML?