Re: [PHP] http_request

2008-01-09 Thread peeyush gulati
Thank you all for your replies. We just solved it down using HTTP_REQUEST. 1.What we did was using HTTP_REQUEST a request was send to login page with post data credentials like username, password and some other field if required. 2. Then using HTTP_RESPONSE the cookies that were being sent from

Re: [PHP] http_request

2008-01-05 Thread Daniel Brown
On Jan 5, 2008 11:41 AM, peeyush gulati <[EMAIL PROTECTED]> wrote: > Thank you will do that > > Ok can i redirect the response to the browser from the layer after my layer > has recieved the response from the application. Absolutely. That's the same premise under which the PayPal IPN works.

Re: [PHP] http_request

2008-01-05 Thread peeyush gulati
Thank you will do that Ok can i redirect the response to the browser from the layer after my layer has recieved the response from the application. On Jan 5, 2008 10:05 PM, Daniel Brown <[EMAIL PROTECTED]> wrote: > On Jan 5, 2008 11:14 AM, peeyush gulati <[EMAIL PROTECTED]> wrote: > > Thank y

Re: [PHP] http_request

2008-01-05 Thread Daniel Brown
On Jan 5, 2008 11:14 AM, peeyush gulati <[EMAIL PROTECTED]> wrote: > Thank you for the reply > > But i am not asking for simple rediredtion. I am aware of the > (header:"Location:url"); > > From a layer i am sending a http_request to an existing application, now the > application will response back

Re: [PHP] http_request

2008-01-05 Thread Dave Goodchild
It's advisable as the page you will be redirected to will be relative to the one the browser actually requested, so it's a good habit to get into. On Jan 5, 2008 4:05 PM, Daniel Brown <[EMAIL PROTECTED]> wrote: > On Jan 5, 2008 10:59 AM, Dave Goodchild <[EMAIL PROTECTED]> wrote: > > Also, supply

Re: [PHP] http_request

2008-01-05 Thread Daniel Brown
On Jan 5, 2008 10:59 AM, Dave Goodchild <[EMAIL PROTECTED]> wrote: > Also, supply an absolute URL when using header redirects. That's not necessary, as far as I know. Relative redirections have always worked just fine. -- Daniel P. Brown [Phone Numbers Go Here!] [They're Hidden From View!]

Re: [PHP] http_request

2008-01-05 Thread Dave Goodchild
Also, supply an absolute URL when using header redirects. On Jan 5, 2008 3:44 PM, Daniel Brown <[EMAIL PROTECTED]> wrote: > On Jan 5, 2008 9:06 AM, peeyush gulati <[EMAIL PROTECTED]> wrote: > > Greetings on New Year :) > >To you, as well! > > > We have a script, say layer.php, which uses HTTP

Re: [PHP] http_request

2008-01-05 Thread Daniel Brown
On Jan 5, 2008 9:06 AM, peeyush gulati <[EMAIL PROTECTED]> wrote: > Greetings on New Year :) To you, as well! > We have a script, say layer.php, which uses HTTP_REQUEST package to > authenticate a user to an existing application (viz., wordpress, > mediawiki etc.) > > I would like help on the

[PHP] http_request

2008-01-05 Thread peeyush gulati
Greetings on New Year :) We have a script, say layer.php, which uses HTTP_REQUEST package to authenticate a user to an existing application (viz., wordpress, mediawiki etc.) I would like help on the following two fronts: 1. How do I return the cookies, headers etc. from the layer (which are bein