At 1:55 PM -0700 5/23/07, Kevin Murphy wrote:
.inc files have a disadvantage in that if you view the file:
http://www.yoursite.com/file.inc
you can see the php code. I prefer not to use those just on the off
chance that someone can see my code and use that as the basis for
figuring out a way
On Fri, 2007-05-25 at 16:17 +0200, Tijnema wrote:
On 5/25/07, Edward Kay [EMAIL PROTECTED] wrote:
Why are your include files in your web root in the first place? Move them
elsewhere on your filesystem and then it's not even possible to access them
via the web.
Edward
Oh, I don't want
On 5/25/07, Edward Kay [EMAIL PROTECTED] wrote:
-Original Message-
From: Tijnema [mailto:[EMAIL PROTECTED]
Sent: 25 May 2007 15:00
To: tedd
Cc: Kevin Murphy; Stephen; php
Subject: Re: [PHP] Include file questions
On 5/25/07, tedd [EMAIL PROTECTED] wrote:
At 1:55 PM -0700 5
On Fri, 2007-05-25 at 16:00 +0200, Tijnema wrote:
On 5/25/07, tedd [EMAIL PROTECTED] wrote:
At 1:55 PM -0700 5/23/07, Kevin Murphy wrote:
.inc files have a disadvantage in that if you view the file:
http://www.yoursite.com/file.inc
you can see the php code. I prefer not to use those
On 5/25/07, tedd [EMAIL PROTECTED] wrote:
At 1:55 PM -0700 5/23/07, Kevin Murphy wrote:
.inc files have a disadvantage in that if you view the file:
http://www.yoursite.com/file.inc
you can see the php code. I prefer not to use those just on the off
chance that someone can see my code and use
-Original Message-
From: Tijnema [mailto:[EMAIL PROTECTED]
Sent: 25 May 2007 15:00
To: tedd
Cc: Kevin Murphy; Stephen; php
Subject: Re: [PHP] Include file questions
On 5/25/07, tedd [EMAIL PROTECTED] wrote:
At 1:55 PM -0700 5/23/07, Kevin Murphy wrote:
.inc files have
-Original Message-
From: Tijnema [mailto:[EMAIL PROTECTED]
It's just the way you write script, my included files contain only
functions variables, no executing code. 99% I have a class around
it.
If you write it like that, than there's no problem with execution the
On 5/25/07, Edward Kay [EMAIL PROTECTED] wrote:
-Original Message-
From: Tijnema [mailto:[EMAIL PROTECTED]
It's just the way you write script, my included files contain only
functions variables, no executing code. 99% I have a class around
it.
If you write it like
On Fri, 2007-05-25 at 17:07 +0200, Tijnema wrote:
On 5/25/07, Edward Kay [EMAIL PROTECTED] wrote:
-Original Message-
From: Tijnema [mailto:[EMAIL PROTECTED]
It's just the way you write script, my included files contain only
functions variables, no executing code.
On 5/25/07, Robert Cummings [EMAIL PROTECTED] wrote:
On Fri, 2007-05-25 at 17:07 +0200, Tijnema wrote:
On 5/25/07, Edward Kay [EMAIL PROTECTED] wrote:
-Original Message-
From: Tijnema [mailto:[EMAIL PROTECTED]
It's just the way you write script, my included files
On 5/25/07, Robert Cummings [EMAIL PROTECTED] wrote:
On Fri, 2007-05-25 at 18:04 +0200, Tijnema wrote:
On 5/25/07, Robert Cummings [EMAIL PROTECTED] wrote:
On Fri, 2007-05-25 at 17:07 +0200, Tijnema wrote:
I like to keep it simple, just like this:
/
/data
/http
On Fri, 2007-05-25 at 18:04 +0200, Tijnema wrote:
On 5/25/07, Robert Cummings [EMAIL PROTECTED] wrote:
On Fri, 2007-05-25 at 17:07 +0200, Tijnema wrote:
I like to keep it simple, just like this:
/
/data
/http
/project1
/includes
config.php
On Fri, 2007-05-25 at 18:20 +0200, Tijnema wrote:
On 5/25/07, Robert Cummings [EMAIL PROTECTED] wrote:
On Fri, 2007-05-25 at 18:04 +0200, Tijnema wrote:
On 5/25/07, Robert Cummings [EMAIL PROTECTED] wrote:
On Fri, 2007-05-25 at 17:07 +0200, Tijnema wrote:
I like to keep it simple,
On 5/25/07, Robert Cummings [EMAIL PROTECTED] wrote:
On Fri, 2007-05-25 at 18:20 +0200, Tijnema wrote:
On 5/25/07, Robert Cummings [EMAIL PROTECTED] wrote:
On Fri, 2007-05-25 at 18:04 +0200, Tijnema wrote:
On 5/25/07, Robert Cummings [EMAIL PROTECTED] wrote:
On Fri, 2007-05-25 at 17:07
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.
Cheers,
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 tag,
Stephen escribió:
1) Does the filename extension matter? I prefer *.inc? It seems to work fine,
but I only see others using *.php
2) Does the include file need an opening ?php and ending ? ?
Not big issues, but I am curious.
Thanks
Stephen
If you use .inc extension you
On Wed, May 23, 2007 3:48 pm, Stephen wrote:
1) Does the filename extension matter? I prefer *.inc? It seems to
work fine, but I only see others using *.php
From a strictly will it work stand-point, the extension can be
anything you want or none at all.
HOWEVER, there are various security code
1) Does the filename extension matter? I prefer *.inc? It seems to work fine,
but I only see others using *.php
2) Does the include file need an opening ?php and ending ? ?
Not big issues, but I am curious.
Thanks
Stephen
Kevin Murphy [EMAIL PROTECTED] wrote: .inc files have a disadvantage in that
if you view the file:
http://www.yoursite.com/file.inc
you can see the php code. I prefer not to use those just on the off chance
that someone can see my code and use that as the basis for figuring out a way
20 matches
Mail list logo