Re: Re[2]: [PHP] Include file questions

2007-05-25 Thread Tijnema
On 5/25/07, Richard Davey <[EMAIL PROTECTED]> wrote: Hi Tijnema, Friday, May 25, 2007, 5:58:46 PM, you wrote: > On 5/25/07, Robert Cummings <[EMAIL PROTECTED]> wrote: >> Very. Each directory contains very specific types of code/content. >> Tracking down where any given function, class, custom t

Re[2]: [PHP] Include file questions

2007-05-25 Thread Richard Davey
Hi Tijnema, Friday, May 25, 2007, 5:58:46 PM, you wrote: > On 5/25/07, Robert Cummings <[EMAIL PROTECTED]> wrote: >> Very. Each directory contains very specific types of code/content. >> Tracking down where any given function, class, custom tag, behaviour, >> etc is defined is extremely simple. >

Re[2]: [PHP] Include???

2007-05-25 Thread tedd
At 2:46 PM +0100 5/25/07, Richard Davey wrote: Hi Tedd, Friday, May 25, 2007, 2:42:34 PM, you wrote: At 3:28 PM +0100 5/23/07, Richard Davey wrote: if ($_POST['status_code'] == 'C') ^^ Read-up on the if/else structure and comparison operators. You'd never use a

Re[2]: [PHP] Include???

2007-05-25 Thread Richard Davey
Hi Tedd, Friday, May 25, 2007, 2:42:34 PM, you wrote: > At 3:28 PM +0100 5/23/07, Richard Davey wrote: >> >> >>if ($_POST['status_code'] == 'C') >> ^^ >> >>Read-up on the if/else structure and comparison operators. You'd never >>use a single equals sign in this example.

Re[2]: [PHP] Include file

2005-03-30 Thread Richard Davey
Hello Jay, Wednesday, March 30, 2005, 10:14:27 PM, you wrote: JB> I try to use both types of quotes in the proper circumstance. JB> Having said that, I came to computing in the age where we worried JB> over CPU cycles, but I don't see how in this day and age the JB> difference between the two wou

Re: Re[2]: [PHP] include files, ".php" or ".inc" ?

2004-11-22 Thread Chris Shiflett
--- Richard Davey <[EMAIL PROTECTED]> wrote: > MK> Yes, .inc files will show up as they are - php source, db > MK> username/password etc. So it's even less secure unless you > forbid serving them: > > That would be the "properly configured web server" section of > my post, assuming this has been d

Re[2]: [PHP] include files, ".php" or ".inc" ?

2004-11-22 Thread Richard Davey
Hello Marek, Monday, November 22, 2004, 12:18:22 PM, you wrote: MK> Yes, .inc files will show up as they are - php source, db MK> username/password etc. So it's even less secure unless you forbid MK> serving them: That would be the "properly configured web server" section of my post, assuming th

Re[2]: [PHP] include files, ".php" or ".inc" ?

2004-11-21 Thread Richard Davey
Hello Perry, Sunday, November 21, 2004, 8:02:48 PM, you wrote: PJ> What it the purpose of the ".inc" file then? Security - on a properly configured web server a .inc file will never actually try and compile/execute itself. Whereas a .php one always will. Best regards, Richard Davey -- http:/