Advanced search  

News:

cpg1.5.48 Security release - upgrade mandatory!
The Coppermine development team is releasing a security update for Coppermine in order to counter a recently discovered vulnerability. It is important that all users who run version cpg1.5.46 or older update to this latest version as soon as possible.
[more]

Pages: [1]   Go Down

Author Topic: E-mail PHP list modifications?  (Read 6944 times)

0 Members and 1 Guest are viewing this topic.

Rafael_XCX

  • Coppermine newbie
  • Offline Offline
  • Posts: 7
E-mail PHP list modifications?
« on: August 12, 2006, 08:55:39 am »

Hi! Please, I saw a code you guys did here for someone to list all the registered e-mails:

Code: [Select]
<?php

define
('IN_COPPERMINE'1);
require 
'include/init.inc.php';

$test db_query("SELECT DISTINCT(user_email) FROM {$CONFIG['TABLE_USERS']} WHERE user_email <> ''");

while (
$row mysql_fetch_assoc($test))
echo $row['user_email'] . "<br />";

?>

Can you please adapt it to show the username, e-mail and location? Like this:

John
john@hotmail.com
England

Bob
bob@hotmail.com
USA

....

Can you please post the code here?
Logged
Pages: [1]   Go Up
 

Page created in 0.024 seconds with 19 queries.