![]() |
|
Welcome to the Computer Webmaster Gaming Console Graphics Forum forums. You are currently viewing our boards as a guest which gives you limited access to view most discussions and access our other features. By joining our free community you will have access to post topics, communicate privately with other members (PM), respond to polls, upload content and access many other special features. Registration is fast, simple and absolutely free so please, join our community today! If you have any problems with the registration process or your account login, please contact contact us. |
| |||||||
| Pear Pear programming, this is a very complex subject as with using pear with php can be a difficult task for some, so lets talk pear. |
![]() |
| | LinkBack | Thread Tools | Display Modes |
| | #1 | ||
| cellog Fri May 25 06:17:33 2007 UTC Modified files: /pearweb/include pear-auth.php Log: remove obsolete CVS password retrieval functions http://cvs.php.net/viewvc.cgi/pearwe...&diff_format=u Index: pearweb/include/pear-auth.php diff -u pearweb/include/pear-auth.php:1.70 pearweb/include/pear-auth.php:1.71 --- pearweb/include/pear-auth.php:1.70 Fri May 25 06:14:49 2007 +++ pearweb/include/pear-auth.php Fri May 25 06:17:33 2007 @@ -15,7 +15,7 @@ +----------------------------------------------------------------------+ | Authors: | +----------------------------------------------------------------------+ - $Id: pear-auth.php,v 1.70 2007/05/25 06:14:49 cellog Exp $ + $Id: pear-auth.php,v 1.71 2007/05/25 06:17:33 cellog Exp $ */ function auth_reject($realm = null, $message = null) @@ -239,34 +239,6 @@ } } -$cvspasswd_file = "/repository/CVSROOT/passwd"; - -function cvs_find_password($user) -{ - global $cvspasswd_file; - $fp = fopen($cvspasswd_file,"r"); - while ($line = fgets($fp, 120)) { - list($luser, $passwd, $groups) = explode(":", $line); - if ($user == $luser) { - fclose($fp); - return $passwd; - } - } - fclose($fp); - return false; -} - -function cvs_verify_password($user, $pass) -{ - $psw = cvs_find_password($user); - if (strlen($psw) > 0) { - if (crypt($pass,substr($psw,0,2)) == $psw) { - return true; - } - } - return false; -} - /* * setup the $auth_user object */ | |||
| Featured Websites | ||||
|
![]() |
| Tags: cvs, include, pearauthphp, pearweb |
| Currently Active Users Viewing This Thread: 1 (0 members and 1 guests) | |
| Thread Tools | |
| Display Modes | |
| |
Similar Threads | ||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| cvs: pearweb /include pear-auth.php | Greg Beaver | Pear | 0 | 05-27-2007 7:47 PM |
| cvs: pearweb /include pear-auth.php | Greg Beaver | Pear | 0 | 05-27-2007 7:47 PM |
| cvs: pearweb /include pear-auth.php | Greg Beaver | Pear | 0 | 05-27-2007 7:47 PM |
| cvs: pearweb /include pear-auth.php | Greg Beaver | Pear | 0 | 05-27-2007 7:47 PM |
| cvs: pearweb /include pear-auth.php | Greg Beaver | Pear | 0 | 05-27-2007 7:46 PM |
| Featured Websites | ||||
|