Reply to Re: Can you *set* Apache credentials from PHP?

Your name:

Reply:


Posted by Gordon Burditt on 07/06/07 23:48

>Is it possible to *set* Apache credentials via PHP? I know you can
>read Apache credentials from PHP, but I want PHP to tell Apache that a
>session is authenticated.

You cannot set credentials in Apache. You set credentials in a browser,
which presents them to Apache (and eventually to PHP).

>Essentially, I want to do with an HTML form what Apache accomplishes
>with a pop-up window.

Apache does not do pop-up windows. Browsers do pop-up windows.

>Why? Because in addition to authenticating them, I need some other
>information, and having (1) a pop-up window that auths them to Apache,
>then (2) an HTML form to capture the additional info, would be awkward
>from a usability perspective.

Information you can set in a browser include cookies, parameters on a URL,
and indirectly you can use session data.

[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

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