Thread: What's up with THIS (IE7 fluke) ???

View Single Post

  #1 (permalink)  

Old 06-03-2007, 01:54 PM

Question What's up with THIS (IE7 fluke) ???

Preface: I am learning PHP from a book with a cd-rom included.
Here is the code from Example 4.15.php --
Code:
<?php
    $age = 26;
    $old = &$age; // This is a valid assignment.
    $old = &(26 + 7); // Invalid; references an unnamed expression.
?>
I understand what it is trying to show, but most of the Examples at least *process* on my local Apache 2.2 / PHP 5.2.3 server, and I would expect an Error Message. What I do get is that both IE7 and Firefox display a blank page. Firefox even shows no page source, which I expect since the server processes and (effectively) hides the PHP code, but the fluke is THIS:
IE7 displays this (r-click - View Source) --
Code:
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<HTML><HEAD>
<META http-equiv=Content-Type content="text/html; charset=windows-1252"></HEAD>
<BODY></BODY></HTML>
So WHERE did THAT come from??? Does IE *self-generate* HTML code???
signed, a perplexed and baffled Jim L.
__________________

Link: Temporary home of JIM_ELL Web Design
[ reply ]
JIM_ELL

JIM_ELL is offline noobie webdesigner

JIM_ELL's Avatar

Join Date: May 2007

Location: AR, USA

Posts: 21

Send a message via MSN to JIM_ELL