Re: can't include 'http...foo.php', but can include 'http...foo.txt'
| From: | (BKDotCom) | Date: | Tue, 02 Sep 2003 05:07:37 +0000 |
| Subject: | Re: can't include 'http...foo.php', but can include 'http...foo.txt' | ||
| References: | 1 2 3 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-161438@lists.php.net to get a copy of this message | ||
googlegroups@paul13.com (paul13) wrote in message news:<768682d0.0309011426.b832fec@posting.google.com>...
>
> How do I use the physical location for a page on another machine?
>
>
> 'http://www.foo.com/usr/local/htdocs/includes/includes.php'
>
>
> with whatever is the acurate physical location following the .com?
>
> Paul
I sure hope that URL is 404.
When you include a valid external URL you're including what that URL
outputs (should be obvious)? So pull up
'http://www.foo.com/includes.php' in
your browser. View the source.
That's what you're including.
surely this is covered here:
http://us3.php.net/manual/en/function.include.php
?