Re: apache/web site question...

From: Matt Grimm (mgrimm_at_healthtvchannel.org)
Date: 12/24/03


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
>
>


Relevant Pages

  • apache/web site question...
    ... i know i can have a web page that uses PHP/ASP/Etc... ... such that i can incorporate content/text from another file. ... text from a file on another server on a separate domain/IP address??? ...
    (php.general)
  • How to replace SSIs
    ... We are incorporating a new .NET application into an existing ASP ... We currently make heavy use of server side includes to ... Customers are in control of their branding and as ... I've create a .NET application and I need to be able to incorporate ...
    (microsoft.public.dotnet.framework.aspnet)
  • Re: How to replace SSIs
    ... check the use of MasterPages so you can know what you want to do. ... We currently make heavy use of server side includes to ... I've create a .NET application and I need to be able to incorporate ... side include is read and processed after the .NET page load function ...
    (microsoft.public.dotnet.framework.aspnet)
  • Re: Connecting to other files
    ... Content DBs? ... > Is there any way to incorporate other files from a second hard drive on ... > server into Sharepoint Services without having to move the files? ... Prev by Date: ...
    (microsoft.public.sharepoint.windowsservices)
  • Re: How do i not share detailed tasks in a master schedule?
    ... Try posting on the server newsgroup. ... Please see FAQ Item: 24. ... incorporate those tasks? ...
    (microsoft.public.project)