Re: [PHP] Using include() and URL's

2002-01-17 Thread Sterling Hughes

> In regards to 1, neither of them are. they're just examples I was testing.
> 
> As for your second note, it need only include the page, it needs only to 
> display the page. It works fine with local references, just not with URL's.
>
You can't use URL includes on the windows systems, only unix.

-Sterling

> At 06:33 AM 1/18/02 +0200, you wrote:
> >A couple of comments:
> >1. Your include() statement specifies a different file than your error
> >message - which one is right?
> >2. From what I recall (but I'm not positive), using a protocol type at the
> >beginning of the location ("http://";) means that your server will actually
> >use that (i.e. parse it -- it'll include whatever you see when you're using
> >a browser on the respective location) rather than include the source file.
> >Is that wht you want?
> >
> >Just my 2c.
> >
> >Bogdan
> >
> >Hippie wrote:
> >
> >> I have a simple command similar to this.
> >>
> >> include ("http://www.cci.net.au/default.htm";);
> >>
> >> When it parses the php file it is contained in though I get the
> >> following response.
> >>
> >> Warning: Failed opening 'http://flurry.cci.net.au/template/index.php'
> >> for inclusion (include_path='') in
> >> C:\Inetpub\wwwroot\template\index.php on line 61
> >>
> >> I checked that I hard url_fopen_wrappers enabled within the php.ini
> >> file which it was and other than that have been unable to deduce why
> >> this isn't working.
> >>
> >> Any comments would be much appreciated.
> >>
> >> Hippie.
> >>
> >> --
> >> PHP General 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]
> >
> >
> >--
> >PHP General 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]
> 
> 
> -- 
> PHP General 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]
> 

-- 
PHP General 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]




Re: [PHP] Using include() and URL's

2002-01-17 Thread John (News)

In regards to 1, neither of them are. they're just examples I was testing.

As for your second note, it need only include the page, it needs only to 
display the page. It works fine with local references, just not with URL's.

At 06:33 AM 1/18/02 +0200, you wrote:
>A couple of comments:
>1. Your include() statement specifies a different file than your error
>message - which one is right?
>2. From what I recall (but I'm not positive), using a protocol type at the
>beginning of the location ("http://";) means that your server will actually
>use that (i.e. parse it -- it'll include whatever you see when you're using
>a browser on the respective location) rather than include the source file.
>Is that wht you want?
>
>Just my 2c.
>
>Bogdan
>
>Hippie wrote:
>
> > I have a simple command similar to this.
> >
> > include ("http://www.cci.net.au/default.htm";);
> >
> > When it parses the php file it is contained in though I get the
> > following response.
> >
> > Warning: Failed opening 'http://flurry.cci.net.au/template/index.php'
> > for inclusion (include_path='') in
> > C:\Inetpub\wwwroot\template\index.php on line 61
> >
> > I checked that I hard url_fopen_wrappers enabled within the php.ini
> > file which it was and other than that have been unable to deduce why
> > this isn't working.
> >
> > Any comments would be much appreciated.
> >
> > Hippie.
> >
> > --
> > PHP General 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]
>
>
>--
>PHP General 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]


-- 
PHP General 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]




Re: [PHP] Using include() and URL's

2002-01-17 Thread Bogdan Stancescu

A couple of comments:
1. Your include() statement specifies a different file than your error
message - which one is right?
2. From what I recall (but I'm not positive), using a protocol type at the
beginning of the location ("http://";) means that your server will actually
use that (i.e. parse it -- it'll include whatever you see when you're using
a browser on the respective location) rather than include the source file.
Is that wht you want?

Just my 2c.

Bogdan

Hippie wrote:

> I have a simple command similar to this.
>
> include ("http://www.cci.net.au/default.htm";);
>
> When it parses the php file it is contained in though I get the
> following response.
>
> Warning: Failed opening 'http://flurry.cci.net.au/template/index.php'
> for inclusion (include_path='') in
> C:\Inetpub\wwwroot\template\index.php on line 61
>
> I checked that I hard url_fopen_wrappers enabled within the php.ini
> file which it was and other than that have been unable to deduce why
> this isn't working.
>
> Any comments would be much appreciated.
>
> Hippie.
>
> --
> PHP General 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]


-- 
PHP General 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]