Re: apache/web site question...
| From: | Matt Grimm | Date: | Wed, 24 Dec 2003 19:48:34 +0000 |
| Subject: | Re: apache/web site question... | ||
| References: | 1 2 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-173309@lists.php.net to get a copy of this message | ||
"As long as allow_url_fopen is enabled in php.ini, you can use HTTP and FTP
URLs with most of the functions that take a filename as a parameter. In
addition, URLs can be used with the include(), include_once(), require() and
require_once() statements."
http://us4.php.net/manual/en/features.remote-files.php
--
Matt Grimm
Web Developer
The Health TV Channel, Inc.
(a non - profit organization)
3820 Lake Otis Parkway
Anchorage, AK 99508
907.770.6200 ext. 686
907.336.6205 (fax)
E-mail: mgrimm@healthtvchannel.org
Web: www.healthtvchannel.org
"Bruce" <bedouglas@earthlink.net> wrote in message
news:00a301c3ca4a$d5a2c1f0$0301a8c0@Mesa.com...
> hi...
>
> a very basic (i hope) question...
>
> i know i can have a web page that uses PHP/ASP/Etc... and i can do a kind
of
> include, such that i can incorporate content/text from another file. i'm
> curious to know if there is a way to do that such that i can incorporate
> text from a file on another server on a separate domain/IP address???
>
> any examples/sample pages demonstrating this would be helpful!!!
>
> I would like to be able to accomplish this from within the apache
httpd.conf
> file if possible, where i simply define a website/page and the httpd.conf
> directive points to the file on the separate PC..... If this isn't
possible,
> I'll take the PHP/ASP/Etc.. approach where I can include a file that
resides
> on another completely different server/PC...
>
> thanks...
>
> bruce douglas
> bedouglas@earthlink.net
> (925) 866-2790
>
>