Re: passing login paramters from php web application to asp web application. help.

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



symbulos wrote:
Richard Lynch wrote:

Can you get the usename/password from the other application?


Yes, we have them.


With it, you can then use http://php.net/curl to simulate the user logging
in to the other site.


Thanks.
You simply have to convince the other site that your PHP script actually
*IS* the user logging in, which is seldom very tricky, and is always
*POSSIBLE* with enough effort.

How can be that done? Do you know of any tutorial, example?

one way is to use the cURL extension. the concept is that your script
pretends to be a browser, using cURL to initiate a HTTP connection (aka
a request) to the ASP server - your request should send the same as your browser would if
you had sumbitted a login attempt to the ASP site directly...





come on, you too know how to type stuff into the google search box:

http://www.google.nl/search?q=php+cURL&start=0

fourth hit:
http://www.phpfreaks.com/quickcode/Curl_Abstraction_Class_v1.0/120.php



--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php


[Index of Archives]     [PHP Home]     [Apache Users]     [PHP on Windows]     [Kernel Newbies]     [PHP Install]     [PHP Classes]     [Pear]     [Postgresql]     [Postgresql PHP]     [PHP on Windows]     [PHP Database Programming]     [PHP SOAP]

  Powered by Linux