Solved

posting data to remote server but result to own server

Posted on 2006-10-22
6
225 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
Free Tool: Port Scanner

Check which ports are open to the outside world. Helps make sure that your firewall rules are working as intended.

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.

 

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

Announcing the Most Valuable Experts of 2016

MVEs are more concerned with the satisfaction of those they help than with the considerable points they can earn. They are the types of people you feel privileged to call colleagues. Join us in honoring this amazing group of Experts.

Question has a verified solution.

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

Suggested Solutions

Title # Comments Views Activity
PHP AJAX JSON 2 75
How is this connection happening? 3 20
How to check if a session is disconnected in php 9 31
PHP Mail error 3 26
Build an array called $myWeek which will hold the array elements Today, Yesterday and then builds up the rest of the week by the name of the day going back 1 week.   (CODE) (CODE) Then you just need to pass your date to the function. If i…
Since pre-biblical times, humans have sought ways to keep secrets, and share the secrets selectively.  This article explores the ways PHP can be used to hide and encrypt information.
Learn how to match and substitute tagged data using PHP regular expressions. Demonstrated on Windows 7, but also applies to other operating systems. Demonstrated technique applies to PHP (all versions) and Firefox, but very similar techniques will w…
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 …

792 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