You are here: Re: [PHP] passing login paramters from php web application to asp web application. help. « PHP « IT news, forums, messages
Re: [PHP] passing login paramters from php web application to asp web application. help.

Posted by Jochem Maas on 06/29/16 11:19

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

>

 

Navigation:

[Reply to this message]


Удаленная работа для программистов  •  Как заработать на Google AdSense  •  England, UK  •  статьи на английском  •  PHP MySQL CMS Apache Oscommerce  •  Online Business Knowledge Base  •  DVD MP3 AVI MP4 players codecs conversion help
Home  •  Search  •  Site Map  •  Set as Homepage  •  Add to Favourites

Copyright © 2005-2006 Powered by Custom PHP Programming

Сайт изготовлен в Студии Валентина Петручека
изготовление и поддержка веб-сайтов, разработка программного обеспечения, поисковая оптимизация