note 16996 added to function.include

From: Date: Wed, 21 Nov 2001 18:19:04 +0000
Subject: note 16996 added to function.include
Groups: php.notes 
Request: Send a blank email to php-notes+get-21109@lists.php.net to get a copy of this message
I am useing Linux,php-4.0+,apache, mysql. i am a student and learning all above tools i don't use "php.ini". so as an option i have set directives like flags,include path, and other values in my "httpd.conf" as apache server. Now my problem is that when i treid to include a file from remote server by following code include ("http://someserver.com/dir/file.php?one=1&two=2"); but it gave me error like "Failed to open file". error was that it tried to find file "file.php" from my local "WEBROOT" set in "httpd.conf" for apache (i.e. .:/www/somesite.com/www: etc). While i wanted that file should be included from that remote server so what is solution if i want to include file by this way i.e by "include" statement. PS. in documentation for include file requiremnts , it has been shown that "URL fpen wrapper should be enable" to include file by this way and as default it stays "on". so if it is true then why did i got that problem? i also don't use "php.ini" file. so pls reply as early as possible for my project -- http://www.php.net/manual/en/function.include.php http://master.php.net/manage/user-notes.php?action=edit+16996 http://master.php.net/manage/user-notes.php?action=delete+16996 http://master.php.net/manage/user-notes.php?action=reject+16996

« previous php.notes (#21109) next »