Nested Drop Down Select Box (Tree View)
10
9
Change the case of an array.
10
mattrmiller
This is a correct way to do login form auto-focus, checking to see if either username or password have focus already. This prevents someone from typing a username hitting TAB, then having JavaScript chime in, resetting focus to Username while user is typing in their password. In this case, the password is appended to the username which is in plaintext.
23
This snippet originally is used for targetting ads banners depended on the geographic location of the visitor, but can be used for other purposes. Also originally is used for US and the rest of the world, but you can add check for other countries too.
11
Example of how to use CURL with PHP.
4
A simple search array example.
16
Format a phone number with php.
13
I needed to send an email through an authenticated SMTP server. I found the snippet on the PHP website to do the trick.
11
Convert an irregular name=value pair string into a formatted array.
13
Generate a random number or string in PHP.









