-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathinfo.php
32 lines (24 loc) · 900 Bytes
/
info.php
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
<?
include 'inc/config.php';
phpinfo();
$stimer = explode( ' ', microtime() );
$stimer = $stimer[1] + $stimer[0];
// -----------
/* ------------------------------------- */
// Add your PHP script and/or content here
/* ------------------------------------- */
$receive = array();
$emails = db::get_prefix_result("USER",'USER_GR >= "' . C_SCHOOLYEAR . '" AND USER_GR < "' . (C_SCHOOLYEAR + 4) . '" AND LENGTH(USER_EMAIL) > 0');
while($row = db::fetch_row($emails))
$receive[] = $row['USER_FULLNAME'] . " <" . $row['USER_EMAIL'] . ">";
mysql_free_result($emails);
$receive = array_unique($receive);
print_r($receive);
// End TIMER
// ---------
$etimer = explode( ' ', microtime() );
$etimer = $etimer[1] + $etimer[0];
echo '<p style="margin:auto; text-align:center">';
printf( "Script timer: <b>%f</b> seconds.", ($etimer-$stimer) );
echo '</p>';
?>