PHP programming forum. Ask questions or help people concerning PHP code. Don't understand a function? Need help implementing a class? Don't understand a class? Here is where to ask. Remember to do your homework!
How to Check if a .NET Passport is valid before accepting the user.
Hi,
I am wondering how to make a PHP Script so when someone enters their email address (.NET Passport) and password on my own webpage it verifies it with http://www.hotmail.com(http://login.passport.net/uilogin.srf?id=2) to check if the account and password is real. If the address is real it passes them to another page or something…
I just started PHP not very long ago so my PHP skiils are not the best so please help.
It is possible, eBay used to let their clients used their .NET Passport (email address) to login.
Also to back this up I know it is possible because I have done it before with Visual Basic. I don’t know enough about the functions of PHP to do it in PHP though.
Is it possible to use a POST/GET-REQUEST to http://www.hotmail.com(http://login.passport.net/uilogin.srf?id=2) and check for the words “Invalid Password” and return the address as invalid, and if the page doesn’t return “Invalid Password” then return that the password and email address is correct???
Uhmm I don’t need to use it for abuse. To use my site you need to log-in to verify the user in order for the add-on I created on Visual Basic that relies on custom HTML pages to work correctly.
feyd wrote:have fun convincing users to give you their passwords..
For the last time their not giving me their passwords, the PHP script checks if for validity and redirects them to the appropriate page. None of the passwords are stored on the server. No offence but I expected a appropriate answer from an Admin.
in order to validate the user, you'd need to know their password. You appeared to be asking for an automated verification method. For which I told you some paths. You never said anything about redirection to the .Net Passport site.
feyd wrote:in order to validate the user, you'd need to know their password. You appeared to be asking for an automated verification method. For which I told you some paths. You never said anything about redirection to the .Net Passport site.
ohh okay sorry... Im wishing to have something like they used to have on eBay about 2 years ago.