All languages

Code factoring

code documentation

Naming

Indentation

Constants

Braces

comments and #ifdefs

C++ specific

Includes

extern declarations

Use of static

Things to avoid unless there's a truly compelling reason:

Things to avoid

error codes

structure definitions

PHP specific

Getting POST and GET data

Remember that hackers can pass arbitrary values in POST and GET, and they can use this to do SQL injections and other exploits. "; page_tail(); ?>