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

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

2001-11-13 Thread TorrentUK
Can anyone spot why I get the error Warning: Failed opening 'd:/www/htdocs/ski-info-online/poll.php?id=KnChooseBoots' for inclusion (include_path='') in d:\WWW\htdocs/ski-info-online/skiKnSkiBoots.php on line 113 Here is the calling line: If I call poll.php?id=KnChooseBoots from the browser i