Re: Posting form variables with http authentication

From: Date: Thu, 21 Jun 2001 18:52:54 +0000
Subject: Re: Posting form variables with http authentication
References: 1  Groups: php.general 
Request: Send a blank email to php-general+get-54787@lists.php.net to get a copy of this message
I think there is no very simple way to do this. But you can try to receive the form yourself and using for example curl extension, make connection to that another server, then resubmitting your form data along with necessary authentication headers. That should work. lenar. ""Gerard Onorato"" <gonorato@desktoplive.com> wrote in message news:NFBBIKPHKLHHFJBNNHNNMEGACNAA.gonorato@desktoplive.com... > Hi everyone, > > This question is almost certainly an RTFM but I can't find it so I am going > to ask anyway. > > I have a form on my ssl which I need to submit to a perl handler on another > server. Problem is the company on the other side is requiring a http > authentication to submit the form. > > I can't think of any way to send the authentication headers along with the > form post. Perhaps I just don't know enough about that area. I was thinking > that perhaps I could build a handler page on my server to take the original > submission via post then send another post via PHP along with the headers > needed for authentication. > > Before I even try this I was wondering if someone out there had ever done > this or could point me in the right direction of some documentation in this > area. If it can't be done I would appreciate knowing that as well. > > Thanks! > > Gerard Onorato > > > -- > PHP General Mailing List (http://www.php.net/) > To unsubscribe, e-mail: php-general-unsubscribe@lists.php.net > For additional commands, e-mail: php-general-help@lists.php.net > To contact the list administrators, e-mail: php-list-admin@lists.php.net >

« previous php.general (#54787) next »