Link to home
Start Free TrialLog in
Avatar of abangbatax
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
Avatar of babuno5
babuno5
Flag of India image

Check this function out
http://in.php.net/fsockopen
Avatar of abangbatax
abangbatax

ASKER

How about CURL?

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
Yes, it's installed

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/
ASKER CERTIFIED SOLUTION
Avatar of babuno5
babuno5
Flag of India image

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial