WeberDev.com PHP and MySQL Code

LOG IN
BEGINNER GUIDES  |  PHP CLASSES  |  CODE SEARCH  |  ARTICLES SEARCH  |  PHP FORUMS  |  PHP MANUAL  |  PHP FUNCTIONS LIST  |  WEB SITE TEMPLATES
Start typing to search for PHP and MySQL Code Snippets and Articles Search
Submit a code Example / Snippet Submit Your Code
Search Engine Optimization Monitor SEO Monitor
Web Site UpTime Monitor UpTime Monitor
WeberDev's Monthly code contest PHP Code Contest
Your Personal Examples List My Favorite Examples
Your Personal Articles List My Favorite Articles
Edit Account Info Update Your Profile
PHP Code Search
Web Development Forums
Learn MySQL Playing Trivia
PHPBB2 Templates
Web Development Index
PHP Web Logs (BLogs)
Web Development Resources
Web Development Content
PHPClasses
PHP Editor
PHP Jobs
Vision.To Design
Ajax Tutorials
PHP Programming Help
PHP/MySQL Programming
Webmaster Resources
Webmaster Forum
XML meta language
website builder
Submit Site
Forex Trading Online forex trading platform

Go Back Add a Comment Send this example to a friend Add this Article to your personal favoritest for easy future access to your favorite Code Examples and Articles. Submit a code example Print this code example.
BACK ADD A COMMENT SEND TO A FRIEND ADD TO MY FAVORITES ADD CODE EXAMPLES PRINT
Title : mod_auth_mysql - mod_auth_mysql was written in order to allow users to use the blazing quick speed of MySQL in order to store authentication information for their apache web servers.
Categories : Authentication, MySQL, Databases
Boaz Yahav
Date : Apr 21st 1999
Grade : 3 of 5 (graded 2 times)
Viewed : 13233
File : mod_auth_mysql-2.20.tar.gz
Images : No Images for this code example.
Search : More code by Boaz Yahav
Action : Grade This Code Example
Tools : My Examples List

  Submit your own code examples 
 

Get it at :

http://www.mysql.com/Downloads/Contrib/mod_auth_mysql-2.20.tar.gz

Or simply press the link above to download from WeberDev.



Authorize Me! An authentication script.
Categories : MySQL, Databases, Authentication, PHP
How to check that the encrypted password in the database is what the user enters? Used to verify mod_auth_mysql encrypted passwords.
Categories : MySQL, Databases, Authentication
Full membership authentication system.
Categories : Authentication, MySQL, PHP, Databases
Implementing a "Members ONLY" area
Categories : PHP, MySQL, Databases, Authentication
complete, simple, working example of a login screen/system using php functions, cookies, and a mysql database for begginers.
Categories : Authentication, Complete Programs, PHP, MySQL, Databases
This program allows you to upload an ODBC ressource - i.e. an MS-Access database to a MySQL server.
Categories : Databases, MySQL, Complete Programs, PHP, Databases
bookmarker - PHP, PHPLIB, MySQL WWW based bookmark manager
Categories : MySQL, PHP, MySQL, Complete Programs, Databases
PHP4 AND MySQL Authentication
Categories : PHP, MySQL, Authentication, Databases
Using .htaccess files to authenticate with .htpassword files and with MySql (Works with Apache)
Categories : Authentication, MySQL, Apache, Databases, Web Servers
Accepts a database & hostname from a user and then HTTP username and password. Uses this to connect to a MySQL database. Produces a form based on the tables it finds there to allow the user to do SELECTs, INSERTs, and DELETEs.
Categories : Databases, PHP, MySQL, Complete Programs
Cut your MySQL Connections to 1 line of code
Categories : PHP, Beginner Guides, Databases, MySQL
simple script to send emails via a html-form to different users
Categories : Email, MySQL, PHP, Databases
Point and Click Interface ala MS Access for creating SQL statements.
Categories : MySQL, Complete Programs, General SQL, PHP, Databases
Displaying records of database in more than one page (paging)
Categories : Databases, MySQL, PHP
html split bar used to split in multiple pages a database result
Categories : HTML and PHP, Databases, MySQL, PHP
 Jonathan Bates wrote : 141
If anyone can get this to compile and install as a DSO 
with Apache, please let me know!
 
 Chris Jones wrote : 144
I am working on the samething ..... if you get any 
leads please tell me. I will do the same if I hear 
anything new. Also If anyone knows how to get this 
working please tell me!!
 
 Franky Van Liedekerke wrote : 158
The following worked for me:

./configure --with-mysql=/opt/mysql-3.22.27 --with-
apxs=/opt/apache_1.3.9/bin/apxs

cp config.h auth_mysql_config.h

 /opt/apache_1.3.9/bin/apxs -c -I. -I/opt/mysql-
3.22.27/include -L/opt/mysql-3.22.27/lib -lmysqlclient -
lmygcc -lm mod_auth_mysql.c

After that, copy the so file to your apache libexec 
directory, add the appropriate lines to httpd.conf and off 
you go...:

LoadModule auth_mysql_module 
libexec/mod_auth_mysql.so
AddModule mod_auth_mysql.c
 
 Sav Mc.Fly wrote : 204
does anybody have an DLL version of mod_auth_mysql 
to use it with my apache for win32?
I use the mod_auth_mysql in my apache on linux and 
works very fast.
 
 Alfredo Anaya wrote : 336
The version of mysql is 3.22.27 and Apache 1.3.6
I have compiled mod_auth_mysql as a sharedobject file 
but when I install it
and try to restart apache it gives me:
Cannot load 
/usr/local/apache/libexec/mod_auth_mysql.so into 
server:
/usr/local/apache/libexec/mod_auth_mysql.so: 
undefined symbol: __ucmpdi2

does anyone know what is causing this problem??

 
 cyber priest wrote :532
the authentication seems to work but if the pass is right i get a 500 server error and in the error log i find stuff like:
[Thu Feb 22 16:13:39 2001] [notice] child pid 7217 exit signal Segmentation fault (11)
[Thu Feb 22 16:14:14 2001] [notice] child pid 7221 exit signal Segmentation fault (11)