newbie include question
| From: | Peter WIlk | Date: | Thu, 20 Sep 2001 04:56:09 +0000 |
| Subject: | newbie include question | ||
| Groups: | php.general | ||
| Request: | Send a blank email to php-general+get-67938@lists.php.net to get a copy of this message | ||
I am very new to PHP and I've come across a little problem. When I'm using
an include (), such as:
<?php include "http://www.petewilk.com/temp/xyz.inc";
?>
I get the following text in the resulting HTML file.
"Last-Modified: Thu, 20 Sep 2001 04:46:25 GMT ETag: "6464fa-15-3ba974a1"
Accept-Ranges: bytes Content-Length: 21 Connection: close Content-Type:
text/plain "
However if I change the include() line to look like this
<?php include "xyz.inc"; ?>
I don't get the "Last-Modified ......" text. Anyone know why this is
happening? Is there a way I can use the whole URL rather than the relative
path?
-Peter Wilk