Re: Re: [PHP-DB] Problem with include()

2001-11-13 Thread Robert Böhm
>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

Re: [PHP-DB] Problem with include()

2001-11-13 Thread TorrentUK
$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

Re: [PHP-DB] Problem with include()

2001-11-13 Thread Jason Wong
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

Re: [PHP-DB] Problem with include()

2001-11-13 Thread Bruno Gimenes Pereti
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

Re: [PHP-DB] Problem with include()

2001-11-13 Thread TorrentUK
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() > &

RE: [PHP-DB] Problem with include()

2001-11-13 Thread matt stewart
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

Re: [PHP-DB] Problem with include()

2001-11-13 Thread Bruno Gimenes Pereti
- 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

Re: [PHP-DB] Problem with include()

2001-11-13 Thread TorrentUK
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

RE: [PHP-DB] Problem with include()

2001-11-13 Thread Peter Lovatt
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