40 PHP Tips
1. Do not use relative paths, instead define a ROOT path 2. Don’t use require , include , require_once or include_once 3. Maintain debugging environment in your application 4. Propagate status messages via session 5. Make your functions flexible 6. Omit the closing php tag if it is the last thing in a script 7. […]