diff --git a/scripts/country.php b/scripts/country.php new file mode 100755 index 0000000..d609550 --- /dev/null +++ b/scripts/country.php @@ -0,0 +1,25 @@ +#!/usr/bin/php -q + + + This file is part of CAcert. + + CAcert has been released under a CAcert Source License + which can be found included with these source files or can + be downloaded from the internet from the following address: + http://www.cacert.org/src-lic.php + + CAcert is distributed WITHOUT ANY WARRANTY; without even + the implied warranty of MERCHANTABILITY or FITNESS FOR A + PARTICULAR PURPOSE. See the License for more details. +*/ + + include_once("../includes/mysql.php"); + + $query = "select * from `users` where ccid=13 OR email like '%.at'"; + $res = mysql_query($query); + while($row = mysql_fetch_assoc($res)) + { + echo $row['fname']." ".$row['lname']." <".$row['email']."> (memid: ".$row['id']." ccid: ".$row['ccid'].")\n"; + } +?>