Small, short code snippets that other people may find useful. Do you have a good regex that you would like to share? Share it! Even better, the code can be commented on, and improved.
Yes, yes, it's about time someone dropped it into this forum and save the MySQL space for PM's (to me ). Anyhow, I was going nuts on why IPB didn't let me add my avatar so I went and revised it a little. Though in the end you'll have to add as:
The version I'm using for my random avatar uses the same path method (http://mysite.com/avatar/) but is a bit smaller code wise. It does however require you to add the image names manually and doesn't detect them automatically.