From Web Services Wiki
The University’s www.stanford.edu web hosting environment is different from those of commercial web hosting providers. Supporting services like Webauth, AFS, Kerberos, and OpenLDAP allow web developers to construct powerful, community-aware applications on an open source platform, but there are special security-related requirements that can be challenging to work through. In an effort to make it easier and faster for web developers to create (or adapt) applications to work in Stanford’s web infrastructure, IT Services provides this “cookbook” of freshly-reviewed and up-to-date PHP “recipes” (scripts and/or modules, sample code, and documentation).
Please help us make these recipes as tasty (and correct) as possible: use the wiki “talk” pages (via the “Discussion” tabs) to make suggestions or comments.
- How to get your first PHP script running at Stanford
- How to protect your cgi-bin directory in AFS
- How to perform error handling in PHP
- How to create logs with PHP
- How to create a flood-proof e-mail log in PHP
Working with the MySQL Service
To accomplish more tasks, please take a look at the Stanford Web Application Toolkit which allows you to send email, upload files and create forms with some SPAM fighting measures already built-in.