Current File : /home/caballoscriollos/www/phplist/lists/admin/defaulttest.php
<?php
class phplistTest {
var $name = 'Default test';
var $purpose = 'Test to be extended to test all kinds of things';
var $userdata = array();
function phplistTest() {
/*
$this->userdata = Sql_Fetch_Assoc_Query(sprintf('select * from %s where email = "%s"',$GLOBALS['tables']['user'],$GLOBALS['developer_email']));
if (!$this->userdata['id']) {
Sql_Query(sprintf('insert into %s (email) values("%s")',$GLOBALS['tables']['user'],$GLOBALS['developer_email']));
print "Bounce user created: ".$GLOBALS['developer_email'].'<br/>';
}
$GLOBALS['message_envelope'] = $GLOBALS['developer_email'];
*/
return 1;
}
function runtest() {
$this->userdata = Sql_Fetch_Assoc_Query(sprintf('select * from %s where email = "%s"',$GLOBALS['tables']['user'],$GLOBALS['developer_email']));
if (!$this->userdata['id']) {
Sql_Query(sprintf('insert into %s (email) values("%s")',$GLOBALS['tables']['user'],$GLOBALS['developer_email']));
print "Bounce user created: ".$GLOBALS['developer_email'].'<br/>';
}
$GLOBALS['message_envelope'] = $GLOBALS['developer_email'];
return 1;
}
}
?>
Mr. DellatioNx196 GaLers xh3LL Backd00r 1.0, Coded By Mr. DellatioNx196 - Bogor BlackHat