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 anyone

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

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

2001-11-13 Thread matt stewart
[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 give argument for it. Also why do you need

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

2001-11-13 Thread TorrentUK
Original Message - 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 which insists on the \ being /

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

2001-11-13 Thread Bruno Gimenes Pereti
: 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 to the visitor (poll.php opens a file called $id.txt, which contains the poll's title

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

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

2001-11-13 Thread TorrentUK
-- From: TorrentUK [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 to the

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

2001-11-13 Thread Robert Böhm
The manual reads include (\http://someserver/file.php?varone=1vartwo=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 not be