I use my own standards. every web page I have has two pages to it. the first is located in the root folder for easy navigation, it contains the template code with a session start at the top (even if that page does not use a session) and then it include the content of the page. The code for the content goes in a descriptive folder for instance all forum components would go in a folder called forum, each content doc that uses a DB includes php file wich resides in the root folder and contains all the Db conection information.
at the top of every page is a code block that looks like this:
/*
+_____________________________________________+
| |
| Website Title: The Role Players Guild |
| URI: |
| Title: index.php |
| Includes: news.php |
| Purpose: Home page. has news updates |
| Date Created: 7/11/2009 4:05 pm |
| Date updated: |
| Copyright: 2009 ---- |
+_____________________________________________+
*/
I also use the three spacing system to keep my code formated
<table>
<tr>
<td>
everything has 3 spaces from the last thing
<br />
yep
</td>
</tr>
</table>
Not verry good standards but it keeps my stuff organised enuph for me to find it quikly
EDIT:
oh and my naming standards are like this
content: ForumInput.php
actual page:forum_input.php
(smae names diffrent way of typing them)