RE: [PHP-WIN] Include()
| From: | alain samoun | Date: | Tue, 22 Jan 2002 00:20:41 +0000 |
| Subject: | RE: [PHP-WIN] Include() | ||
| References: | 1 | Groups: | php.windows |
| Request: | Send a blank email to php-windows+get-11546@lists.php.net to get a copy of this message | ||
You are right, it doesn't seem to work with windows, I don't know if it
works with *nix either?
But you can include your file as:
include("http://whatever/yourfile.php");
A+
Alain
-----Original Message-----
From: John (News) [mailto:johnnews@cci.net.au]
Sent: Monday, January 21, 2002 3:34 PM
To: php-windows@lists.php.net
Subject: [PHP-WIN] Include()
Has anyone been able to use the include() statement with a URL in the
windows version of php? I've tried v4.0.6 and v4.1.1 and neither of them
seem to work. Function is as follows.
include('http://www.tol.com.au/default.htm');
I have checked and made sure that allow_url_fopen is enabled in the ini
file but I can't find any other config that needs to be changed in order to
get this to work.
Hippie.