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:[EMAIL PROTECTED]]
Sent: Monday, January 21, 2002 3:34 PM
To: [EMAIL PROTECTED]
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.




-- 
PHP Windows Mailing List (http://www.php.net/)
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
To contact the list administrators, e-mail: [EMAIL PROTECTED]

Reply via email to