cvs: php-master-web /fetch cvspasswd.php

From: Date: Tue, 16 Oct 2001 23:50:26 +0000
Subject: cvs: php-master-web /fetch cvspasswd.php
Groups: php.mirrors 
Request: Send a blank email to php-mirrors+get-7036@lists.php.net to get a copy of this message
jimw Tue Oct 16 19:50:26 2001 EDT Added files: /php-master-web/fetch cvspasswd.php Log: get info for cvs passwd file from database Index: php-master-web/fetch/cvspasswd.php +++ php-master-web/fetch/cvspasswd.php <?php # token required, since this should only get accessed from cvs.php.net if (!isset($token) || md5($token) != "19a3ec370affe2d899755f005e5cd90e") die("token not correct."); // Connect and generate the list from the DB if (@mysql_connect("localhost","nobody","")) { if (@mysql_select_db("php3")) { $res = @mysql_query("SELECT cvsuser,passwd FROM users WHERE cvsuser IS NOT NULL AND passwd != ''"); if ($res) { while ($row = @mysql_fetch_array($res)) { echo "$row[cvsuser]:$row[passwd]:cvs\n"; } } } }

« previous php.mirrors (#7036) next »