Look at this URL in Chrome and Firefox.
http://gymshuffle.com/contact.html
If FF, there’s uninterpreted PHP code on the page. In Chrome there isn’t.
What would cause the PHP to display in Firefox?
Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.
Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.
Lost your password? Please enter your email address. You will receive a link and will create a new password via email.
Please briefly explain why you feel this question should be reported.
Please briefly explain why you feel this answer should be reported.
Please briefly explain why you feel this user should be reported.
That’s interesting, it looks like Chrome realizes that what’s between >?php and? < isn’t a browser tag, and is instead maleformed HTML, and never lets it get to the rendered HTML tree. You can see a much simpler version of the same thing here
Source code
URL:
If you view source with Chrome the PHP code isn’t displayed. If you do it with Firefox it is.
The important thing to remember here is that your PHP code isn’t being executed. Chrome downloads the page with the raw PHP code in it, sees the raw PHP code, and removes it before rendering the page.
Update: Saw an upvote on this in 2015 — and it looks like Chrome now does display the mentioned code.