Solved

posting data to remote server but result to own server

Posted on 2006-10-22
6
196 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
Enabling OSINT in Activity Based Intelligence

Activity based intelligence (ABI) requires access to all available sources of data. Recorded Future allows analysts to observe structured data on the open, deep, and dark web.

 

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 125 total points
ID: 17786865
there are lots of examples on this link too
http://in.php.net/curl
0

Featured Post

IT, Stop Being Called Into Every Meeting

Highfive is so simple that setting up every meeting room takes just minutes and every employee will be able to start or join a call from any room with ease. Never be called into a meeting just to get it started again. This is how video conferencing should work!

Join & Write a Comment

Consider the following scenario: You are working on a website and make something great - something that lets the server work with information submitted by your users. This could be anything, from a simple guestbook to a e-Money solution. But what…
I imagine that there are some, like me, who require a way of getting currency exchange rates for implementation in web project from time to time, so I thought I would share a solution that I have developed for this purpose. It turns out that Yaho…
The viewer will learn how to dynamically set the form action using jQuery.
The viewer will learn how to create a basic form using some HTML5 and PHP for later processing. Set up your basic HTML file. Open your form tag and set the method and action attributes.: (CODE) Set up your first few inputs one for the name and …

759 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

Need Help in Real-Time?

Connect with top rated Experts

23 Experts available now in Live!

Get 1:1 Help Now