You really only want to use the whole URL if you plan on having it get it
from a remote server... And that's pretty dangerous unless you totally
control that remote server.
I think you'll need to convince xyz.inc and/or Apache to not output those
headers...
I *THINK* maybe something like:
header("Last-Modified:");
will over-ride the default header, and since it's got no value, might not be
passed out... Strictly a guess on my part.
--
WARNING [EMAIL PROTECTED] address is an endangered species -- Use
[EMAIL PROTECTED]
Wanna help me out? Like Music? Buy a CD: http://l-i-e.com/artists.htm
Volunteer a little time: http://chatmusic.com/volunteer.htm
----- Original Message -----
From: Peter Wilk <[EMAIL PROTECTED]>
Newsgroups: php.general
To: <[EMAIL PROTECTED]>
Sent: Wednesday, September 19, 2001 11:56 PM
Subject: newbie include question
> 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
>
>
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
To contact the list administrators, e-mail: [EMAIL PROTECTED]