For Programmers: Free Programming Magazines  


Home > Archive > PHP Pear > January 2008 > http_request









You are viewing an archived Text-only version of the thread. To view this thread in it's original format and/or if you want to reply to this thread please [click here]

 

Author http_request
peeyush gulati

2008-01-05, 7:05 pm

Sorry for sending it again but i thought to send it with an
appropriate subject so that all developers to find it easy.

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
being sent from the application) to the browser?
2. How do I redirect browser from the layer.php to a page of the application.


I was thinking that if I could find a way to send the headers and
cookies to the browser, I could also send a 302 status code, along
with the cookies, to redirect the user to a page of the app.





--
Thanks and Regards
Peeyush Gulati
+91-9916304135
Haup

2008-01-12, 8:49 pm

Olsen Twins and Christina Applegate Having Fun Together!
Sponsored Links







Also available: Server administration forum archive | Web Design forum archive | Software forum archive | Hardware reviews archive

Copyright 2008 codecomments.com