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
abangbataxAsked:
Who is Participating?
 
babuno5Connect With a Mentor Commented:
there are lots of examples on this link too
http://in.php.net/curl
0
 
babuno5Commented:
Check this function out
http://in.php.net/fsockopen
0
 
abangbataxAuthor Commented:
How about CURL?

i heard it also can but i dont know how to code it

Thanks
0
Cloud Class® Course: SQL Server Core 2016

This course will introduce you to SQL Server Core 2016, as well as teach you about SSMS, data tools, installation, server configuration, using Management Studio, and writing and executing queries.

 
babuno5Commented:
yes CURL is also possible but u need to have CURL installed
0
 
abangbataxAuthor Commented:
Yes, it's installed

could you tell me the php code sample?

Thanks
0
 
babuno5Commented:
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/
0
Question has a verified solution.

Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.

Have a better answer? Share it in a comment.

All Courses

From novice to tech pro — start learning today.