Why do you want to include from localhost over HTTP?  Sounds to me like
you want to do:

$foo='bar';
include "$DOCUMENT_ROOT/folder/file.php";

-Rasmus

On Fri, 12 Apr 2002, Barış Mert wrote:

> 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
>


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

Reply via email to