hi i want to connect to the remote server directly by using a php function .can any one of u pls guide me how to do so.i want to pass the username and password to the server and the checking is done in the php file (server side).i have to get the out put..of the login person