Re: [PHP] how to hide dbconnect file if its in published directo

2001-07-14 Thread Rasmus Lerdorf
> It's late, I've had a couple of beers, and in the morning I'll spend some > effort trying to imagine such issues. In the mean-time I'd welcome any > real-life examples. ::start.php:: ::header.php:: When header.php is included in the context of start.php then $auth is perfectly initialized a

Re: [PHP] how to hide dbconnect file if its in published directo

2001-07-14 Thread Don Read
On 14-Jul-01 Rasmus Lerdorf wrote: >> I wrote (attribution added) >> >> Enough already. >> Whom should we flog and keel-haul for starting this include(foo.inc) crap >> ?!? > > There is nothing wrong with naming include files with a separate > extension. In the context of C files: *.c *.h .

Re: [PHP] how to hide dbconnect file if its in published directo

2001-07-13 Thread Rasmus Lerdorf
> On 14-Jul-01 hassan el forkani wrote: > > there should not be any problem if your web server is configured to parse > > .inc extentions as PHP, in wich case, even if the file is called > > separately, the server will strip php tags and send normal html output. > > > > Enough already. > Whom sho

Re: [PHP] how to hide dbconnect file if its in published directo

2001-07-13 Thread Chris Anderson
how can you hate foo.inc? - Original Message - From: "Don Read" <[EMAIL PROTECTED]> To: <[EMAIL PROTECTED]> Sent: Friday, July 13, 2001 10:39 PM Subject: Re: [PHP] how to hide dbconnect file if its in published directo > > On 14-Jul-01 hassan el forkani wr

Re: [PHP] how to hide dbconnect file if its in published directo

2001-07-13 Thread Don Read
On 14-Jul-01 hassan el forkani wrote: > there should not be any problem if your web server is configured to parse > .inc extentions as PHP, in wich case, even if the file is called > separately, the server will strip php tags and send normal html output. > Enough already. Whom should we flog