nesday, February 14, 2001 4:45 AM
Subject: AW: [PHP] Bad Practices
> OR you could tell apache to parse everything that ends with .inc with php.
> you can name it .inc .linux .linuxsucks .microsoftsucks
>
> (you'll need to have access to http.conf or .htaccess+right to override
...
Which is why anyone with a clue makes any special extensions they use
protected by the web server. Which is why I protect .inc, .cfg, .class,
etc. It's also a good idea not to store config-type files in the web tree.
Rick Hodger wrote:
> "Jeff Oien" <[EMAIL PROTECTED]> wrote in message
> [EMAI
ginal Message-
From: Jeff Oien [mailto:[EMAIL PROTECTED]]
Sent: Tuesday, February 13, 2001 1:11 PM
To: PHP
Subject: [PHP] Bad Practices
Would people like to list bad practices and also point us
newbies to any articles online dealing with syntax, correct
use of single and double quotes etc.?
I
> "Jeff Oien" <[EMAIL PROTECTED]> wrote in message
> [EMAIL PROTECTED]">news:[EMAIL PROTECTED]...
> > Would people like to list bad practices and also point us
> > newbies to any articles online dealing with syntax, correct
> > use of single and double quotes etc.?
>
> People who create scripts tha
ilto:[EMAIL PROTECTED]]
> Gesendet: Mittwoch, 14. Februar 2001 09:51
> An: [EMAIL PROTECTED]
> Betreff: Re: [PHP] Bad Practices
>
>
>
> "Jeff Oien" <[EMAIL PROTECTED]> wrote in message
> [EMAIL PROTECTED]">news:[EMAIL PROTECTED]...
> > Would peopl
"Jeff Oien" <[EMAIL PROTECTED]> wrote in message
[EMAIL PROTECTED]">news:[EMAIL PROTECTED]...
> Would people like to list bad practices and also point us
> newbies to any articles online dealing with syntax, correct
> use of single and double quotes etc.?
People who create scripts that include a
From: "Philip Olson" <[EMAIL PROTECTED]>
> They're very useful. Also, regarding SQL, don't do "SELECT * ..." all the
> time as it's overkill if not all fields are being used.
And, in fact, doing a "SELECT *" ends up precluding most optimizations
within a query engine! Selecting only what you rea
Be sure to check this out :
Using Strings :
---
http://www.zend.com/zend/tut/using-strings.php
Don't put large blocks of HTML within echo or print, don't be afraid
to escape out of PHP for that. Al
ailto:[EMAIL PROTECTED]]
Sent: Tuesday, February 13, 2001 10:11 AM
To: PHP
Subject: [PHP] Bad Practices
Would people like to list bad practices and also point us
newbies to any articles online dealing with syntax, correct
use of single and double quotes etc.?
I would like to get a good handle on
Would people like to list bad practices and also point us
newbies to any articles online dealing with syntax, correct
use of single and double quotes etc.?
I would like to get a good handle on these issues right
from the beginning. As a Web designer I like to use
standard HTML and do everything
10 matches
Mail list logo