Solved

posting data to remote server but result to own server

Posted on 2006-10-22
6
234 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
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
  • 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
SharePoint Admin?

Enable Your Employees To Focus On The Core With Intuitive Onscreen Guidance That is With You At The Moment of Need.

 

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

Independent Software Vendors: 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!

Question has a verified solution.

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

These days socially coordinated efforts have turned into a critical requirement for enterprises.
Nothing in an HTTP request can be trusted, including HTTP headers and form data.  A form token is a tool that can be used to guard against request forgeries (CSRF).  This article shows an improved approach to form tokens, making it more difficult to…
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 and use a small PHP class to apply a watermark to an image. This video shows the viewer the setup for the PHP watermark as well as important coding language. Continue to Part 2 to learn the core code used in creat…

730 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