Re: apache/web site question...
From: Matt Grimm (mgrimm_at_healthtvchannel.org)
Date: 12/24/03
- Next message: xyzzy: "Re: Cannot Access Includes Above Current Directory if using SSL"
- Previous message: Dhruv: "ftp module and php"
- In reply to: Bruce: "apache/web site question..."
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
To: php-general@lists.php.net Date: Wed, 24 Dec 2003 10:48:34 -0900
"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 > >
- Next message: xyzzy: "Re: Cannot Access Includes Above Current Directory if using SSL"
- Previous message: Dhruv: "ftp module and php"
- In reply to: Bruce: "apache/web site question..."
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
Relevant Pages
|