test if a username and password is valid by using php

Hi,

I have all domains listed in my database along with username and passwords. I lost about 500 db enteries so alot of domains are missing.
I'm adding a page where the users can type theire domain, username and password. So I need a way (php) to check if the username and password match the domain name at my server.

I have read that fsockopen proberly can check this, but I have no idea how it works (have read php.net too)

 

 

 

 

Top