You are here: Re: Using mod_auth_mysql w/ PHP « PHP Programming Language « IT news, forums, messages
Re: Using mod_auth_mysql w/ PHP

Posted by Jerry Stuckle on 10/29/79 11:43

Jose.Dr.G@gmail.com wrote:
> Hi,
>
> I've set up mod_auth_mysql to authenticate users to a mysql database.
> However, I would like to pass the credentials passed to the
> auth_mod_mysql module on to a php script. Is this possible?
>

Yes and no.

Apache sets the user name in $_SERVER['REMOTE_USER']. But the password, group
info, etc. are not passed on.

(Reference your follow up question) And no, you can't pass from a php script to
mod_auth_mysql. Apache authentication takes place long before any page is loaded.

--
==================
Remove the "x" from my email address
Jerry Stuckle
JDS Computer Training Corp.
jstucklex@attglobal.net
==================

 

Navigation:

[Reply to this 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

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