Linux User authentication using PHP

Hi,
in one of my last post i try to define how linux store its password. Today I will be putting Complete PHP code for it.
Just run it on your local server(mind it your Http server must be running as root user in order to use this script )
Its a raw way of doing password matching [...]