I want my PHP script authentication to be based on my system username/password sets. My box is an email server also therefore I wanted my users to use the same username/password that they use checking their emails.
Maybe I can have my PHP script check against my shadow file? Or maybe a totally separate C program that i can do popen and pass on parameters? Any suggestions? Is there an easy way to do this in PHP that I am not aware of?