abangbatax
asked on
posting data to remote server but result to own server
Hi,
How to code in PHP
ex.
I have make a form with username and password in php and
if i enter the user and pass, i want it will automatically check from ex. mail.yahoo.com ( user and pass )
then the result wheter login success or not, it should appear in the php form that i created not go the the mail.yahoo.com page
Thanks
How to code in PHP
ex.
I have make a form with username and password in php and
if i enter the user and pass, i want it will automatically check from ex. mail.yahoo.com ( user and pass )
then the result wheter login success or not, it should appear in the php form that i created not go the the mail.yahoo.com page
Thanks
ASKER
How about CURL?
i heard it also can but i dont know how to code it
Thanks
i heard it also can but i dont know how to code it
Thanks
yes CURL is also possible but u need to have CURL installed
ASKER
Yes, it's installed
could you tell me the php code sample?
Thanks
could you tell me the php code sample?
Thanks
I m not much familiar with CURL but check this link out
http://www.higherpass.com/php/tutorials/Using-Curl-To-Query-Remote-Servers/1/
http://www.higherpass.com/php/tutorials/Using-Curl-To-Query-Remote-Servers/1/
ASKER CERTIFIED SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
http://in.php.net/fsockopen