|
php.net | support | documentation | report a bug | advanced search | search howto | statistics | random bug | login |
PatchesPull RequestsHistoryAllCommentsChangesGit/SVN commits
[2001-06-12 15:30 UTC] jmoore@php.net
|
|||||||||||||||||||||||||||
Copyright © 2001-2025 The PHP GroupAll rights reserved. |
Last updated: Wed Nov 12 16:00:01 2025 UTC |
This snippet of code works on FreeBSD, but not Windows 2000: <? include("http://www.bunnynet.org"); ?> On FreeBSD it works as expected, PHP will connect to the remote host, fetch the page and include it in the page it's currently sending to the client. On Windows 2000 I get the following error: Warning: Failed opening 'http://www.bunnynet.org' for inclusion (include_path='') in c:\apache\htdocs\test.php on line 14 I am using PHP 4.0.5 on the FreeBSD server and PHP 4.0.6 RC3 on the Windows 2000 server. My php.ini is identical to php.ini-dist in 4.0.6 RC3, and is located in C:\WINNT\, which is the path that phpinfo() shows that PHP is looking for it in. ("allow_url_fopen" IS enabled.)