|
What this is
Other links
The source code
# $Id: apopfilter_mysql.rb,v 1.3 2004/04/04 02:10:14 tommy Exp $
#
# Copyright (C) 2003-2004 TOMITA Masahiro
# tommy@tmtm.org
#
require "mysql"
class POPS
def get_passwd(user)
my = Mysql::new($mysql_server, $mysql_user, $mysql_pass, $mysql_db)
pw, = my.query("select #{$mysql_pwfield} from #{$mysql_table} where #{$mysql_userfield}='#{my.quote user}'").fetch_row
my.close
pw
end
end
|
Copyright 1998-2008 Alvin Alexander
All Rights Reserved.
devdaily.com is based in louisville, kentucky, and this web site is hosted by godaddy.com