?
Solved

posting data to remote server but result to own server

Posted on 2006-10-22
6
Medium Priority
?
247 Views
Last Modified: 2006-11-18
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
0
Comment
Question by:abangbatax
  • 4
  • 2
6 Comments
 
LVL 15

Expert Comment

by:babuno5
ID: 17786742
Check this function out
http://in.php.net/fsockopen
0
 

Author Comment

by:abangbatax
ID: 17786749
How about CURL?

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

Thanks
0
 
LVL 15

Expert Comment

by:babuno5
ID: 17786784
yes CURL is also possible but u need to have CURL installed
0
Industry Leaders: We Want Your Opinion!

We value your feedback.

Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!

 

Author Comment

by:abangbatax
ID: 17786791
Yes, it's installed

could you tell me the php code sample?

Thanks
0
 
LVL 15

Expert Comment

by:babuno5
ID: 17786855
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
 
LVL 15

Accepted Solution

by:
babuno5 earned 375 total points
ID: 17786865
there are lots of examples on this link too
http://in.php.net/curl
0

Featured Post

Free Tool: SSL Checker

Scans your site and returns information about your SSL implementation and certificate. Helpful for debugging and validating your SSL configuration.

One of a set of tools we are providing to everyone as a way of saying thank you for being a part of the community.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Password hashing is better than message digests or encryption, and you should be using it instead of message digests or encryption.  Find out why and how in this article, which supplements the original article on PHP Client Registration, Login, Logo…
Introduction This article is intended for those who are new to PHP error handling (https://www.experts-exchange.com/articles/11769/And-by-the-way-I-am-New-to-PHP.html).  It addresses one of the most common problems that plague beginning PHP develop…
The viewer will learn how to count occurrences of each item in an array.
This tutorial will teach you the core code needed to finalize the addition of a watermark to your image. The viewer will use a small PHP class to learn and create a watermark.
Suggested Courses
Course of the Month15 days, 16 hours left to enroll

850 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question