Code PHP:
http://www18.zippyshare.com/v/wrFjO0k4/file.html 

Saludos