From: Bill Rausch on 3 Mar 2010 14:25 Hi there, In certain circumstances controlled by my users, I'd like to redirect my users to another site, a third party whom we have contracted with. The second site uses basic authentication with a simple username and password. Can I write my PHP code so my users do not have to login (or even know the username/password) on the remote site? This isn't intended to stop serious hackers, just enough security to stop casual passers-by. Thanks, Bill -- Bill Rausch We first make our habits and then our habits make us. --John Dryden
From: Rene Veerman on 3 Mar 2010 14:52 depends on how that site does its authentication... if it's a form, it may need an extra setting to allow you to go to a specific page on that site after authentication. On Wed, Mar 3, 2010 at 8:25 PM, Bill Rausch <BRausch(a)owt.com> wrote: > > > Hi there, > > In certain circumstances controlled by my users, I'd like to redirect my > users to another site, a third party whom we have contracted with. The > second site uses basic authentication with a simple username and password. > Can I write my PHP code so my users do not have to login (or even know the > username/password) on the remote site? > > This isn't intended to stop serious hackers, just enough security to stop > casual passers-by. > > Thanks, > > Bill > > > -- > Bill Rausch > > We first make our habits and then our habits make us. --John Dryden > > -- > PHP General Mailing List (http://www.php.net/) > To unsubscribe, visit: http://www.php.net/unsub.php > >
From: "Jay Blanchard" on 3 Mar 2010 15:20 [snip] In certain circumstances controlled by my users, I'd like to redirect my users to another site, a third party whom we have contracted with. The second site uses basic authentication with a simple username and password. Can I write my PHP code so my users do not have to login (or even know the username/password) on the remote site? This isn't intended to stop serious hackers, just enough security to stop casual passers-by. [/snip] Have a look at cURL (http://www.php.net/curl) as it will allow you to perform remote POST's which may be enough to get you through.
|
Pages: 1 Prev: Memory investigation Next: PHP: inexplicable behaviour of pre- and post-increment operators |