Google Groups no longer supports new Usenet posts or subscriptions. Historical content remains viewable.
Dismiss

[PHP] include through HTTP

0 views
Skip to first unread message

Robert Collins

unread,
Apr 12, 2002, 9:23:41 AM4/12/02
to Barýþ" Mert, php-g...@lists.php.net
Check the Note about 5 lines down on this page.
http://www.php.net/manual/en/features.remote-files.php

"Note: You can't use remote files in include() and require() statements on
Windows."

Robert W. Collins II
Webmaster
New Orleans Regional Transit Authority
Phone : (504) 248-3826
Email : rcol...@norta.com

-----Original Message-----
From: Barýþ" Mert [mailto:bme...@yahoo.com]
Sent: Friday, April 12, 2002 8:13 AM
To: php-g...@lists.php.net
Subject: [PHP] include through HTTP


What i want to do is :
include("http://localhost/folder/file.php?foo=bar");
but it doesn't work. As you may guess it looks for a
file called "file.php?foo=bar". "url_fopen" is set to
"on" in my php.ini file as told in the PHP manual.
I work on win98+apache+php4.1.1(or something like that
but at least 4.1...)
Do you know what's the problem?
Info about this subject is on
http://www.php.net/manual/en/function.include.php
...

__________________________________________________
Do You Yahoo!?
Yahoo! Tax Center - online filing with TurboTax
http://taxes.yahoo.com/

--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php

Barış Mert)

unread,
Apr 12, 2002, 9:49:52 AM4/12/02
to php-g...@lists.php.net
Oh what a shame on me! Sorry and thank you...
0 new messages