Re: Passing Credentials
| From: | Barry | Date: | Tue, 31 Jan 2006 08:39:30 +0000 |
| Subject: | Re: Passing Credentials | ||
| References: | 1 2 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-229516@lists.php.net to get a copy of this message | ||
David Tulloh wrote:
You want to use sessions, they allow you to store information such as login details between requests. Have a look at a simple tutorial, like this Zend one. http://www.zend.com/php/beginners/php101-10.php News1 wrote:So every "webcam page" has its own authentication? Probably you should use fopen or fsockopen then. http://de.php.net/fopen http://de.php.net/fsockopen http://de.php.net/fputs http://de.php.net/fgets Probably somone can tell how to access HTTP auth sites with php? GET /pathto/webcam HTTP 1.0 Authantication: Basic and then? Password: ?? or what ^^ HTH and thanks if others can post the last info on how to auth via php. I also like to know that lol ^^ Greets Barry -- Smileys rule (cX.x)C --o(^_^o)Rory, Thanks for the feedback -- I will try to be clearer. Yes, I want to login into a web page and from there get to another webpage. The webcams are on my network. I can access them directly; however, I would like to create a page where several are visible at once. So, I would like to be able to log into a "master" page, if you will, and from there be able to access multiple webcam web pages from this "master" page. Right now I can do it, but I have to authenticate for each webcam I access. Since I am using authentication to access the "master" page, I would like to skip this step for the webcams and be able to access them directly and automatically pass the username/password credentials. Thanks again! I hope this is clearer.