Reply to Re: How do I auto-login to a protected site?

Your name:

Reply:


Posted by google.poster on 10/24/06 02:27

Dave --

If you have libcurl installed and you've compiled PHP with the
appropriate option, you can use curl to accomplish this task. You
would use the CURLOPT_HTTPAUTH and CURLOPT_USERPWD options to submit
your credentials.

For more information about PHP and curl, visit this URL:

http://ca.php.net/manual/en/ref.curl.php

Hope this helps. :)

Geoffrey


laredotornado@zipmail.com wrote:
> Hi,
>
> Using Apache web server, I am protecting certain directories with
> .htaccess files. Is there a way in PHP where I can automatically
> sjbmit login credentials without having to type them into the gray box
> each time? I'm using PHP 4.4.4 if that helps.
>
> Thanks for any advice, - Dave

[Back to original message]


Удаленная работа для программистов  •  Как заработать на Google AdSense  •  England, UK  •  статьи на английском  •  PHP MySQL CMS Apache Oscommerce  •  Online Business Knowledge Base  •  DVD MP3 AVI MP4 players codecs conversion help
Home  •  Search  •  Site Map  •  Set as Homepage  •  Add to Favourites

Copyright © 2005-2006 Powered by Custom PHP Programming

Сайт изготовлен в Студии Валентина Петручека
изготовление и поддержка веб-сайтов, разработка программного обеспечения, поисковая оптимизация