>The manual reads
>include (\"http://someserver/file.php?varone=1&vartwo=2\";);
>and...
>require($DOCUMENT_ROOT . \"/header.html\");
As you can see the upper one among the above line refers
to opening a remote file for inclusion via http.
If it the server is somewhat properly configured
you will
$foo;
>
> $bar = $foo." working";
>
> I think this example will help...
>
> Bruno.
>
> - Original Message -
> From: "TorrentUK" <[EMAIL PROTECTED]>
> To: <[EMAIL PROTECTED]>
> Sent: Tuesday, November 13, 2001 1:16 PM
> Subject: Re: [PHP-DB
On Tuesday 13 November 2001 23:16, TorrentUK wrote:
> According to the php manual it can pass args and values.
I think this is only true *if* you're including a remote file, ie
through HTTP.
> The value I pass in through the $id then determines what poll is
> presented to the visitor (poll.ph
UK" <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Tuesday, November 13, 2001 1:16 PM
Subject: Re: [PHP-DB] Problem with include()
> According to the php manual it can pass args and values.
>
> The value I pass in through the $id then determines what poll is
presented
he
> parameter if the variable id is already set?
>
> Bruno.
>
> - Original Message -
> From: "TorrentUK" <[EMAIL PROTECTED]>
> To: <[EMAIL PROTECTED]>
> Sent: Tuesday, November 13, 2001 11:24 AM
> Subject: Re: [PHP-DB] Problem with include()
>
&
rom: Bruno Gimenes Pereti [mailto:[EMAIL PROTECTED]]
Sent: 13 November 2001 13:41
To: PHP-DB
Subject: Re: [PHP-DB] Problem with include()
Does include accept parameter?
I have never tried.
I think php will try to find a file called "poll.php?id=KnChooseBoots" not a
file called poll and gi
-
From: "TorrentUK" <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Tuesday, November 13, 2001 11:24 AM
Subject: Re: [PHP-DB] Problem with include()
> Hi Peter,
>
> I'll be surprised if that's it as I am running this through an Apache
server
> whic
Hi Peter,
I'll be surprised if that's it as I am running this through an Apache server
which insists on the \ being /
Also all references to my images are / and they work fine. In fact, I think
I mentioned, it calls the poll.php
if I drop the argument part (?id=KnChooseBoots). It's all very stra
Could it be windows doesn't like the '/' in the path. OK on a webpage, but
not directly into the filesystem?
Peter
> -Original Message-
> From: TorrentUK [mailto:[EMAIL PROTECTED]]
> Sent: 13 November 2001 12:47
> To: [EMAIL PROTECTED]
> Subject: [PHP-DB] Problem with include()
>
>
> Can