set('ttkey', 'takbkbk', 60*5);
$tmpResult = $objMemcached->get('ttzu', 'test', $cas_token);
//$tmpResult = $objMemcached->get(123333);
//$tmpResult = $objMemcached->delete(123333);
var_dump($tmpResult);
var_dump($cas_token);
echo "
";
echo Request::rootDomain('backend.localhost.com.cn');
echo "
";
use KIF\Db\MySQLi;
class ProductIndex extends AbstractDao {
protected $tableName = 'product_index';
protected $primaryKey = 'productid';
}
$objProductIndex = new ProductIndex();
$result = $objProductIndex->gets(array(291110, '291109', '2911107'));
//$objProductIndex->update(array('ename' => ''), array('productid' => 291109));
print_r($result);
/*
$dsn = 'mysqli://root:@kimiss@10.15.200.181/product?charset=utf8&name=gxg';
$objMysqli = new MySQLi($dsn);
$sql = "select * from product_index limit 1;";
$arr = $objMysqli->fetchOne($sql);
print_r($arr);
$sql = "select * from product_review_index limit 1;";
$arr = $objMysqli->fetchOne($sql);
print_r($arr);
*/
use KIF\Debug\Debug;
/*
# 邮箱服务器与帐号定义
define("SMTP_HOSTNAME", "smtp.qq.com");
//define("SMTP_SERVER", "27.131.221.229");
define("SMTP_PORT", 25);
define("SMTP_USERNAME", "husserl");
define("SMTP_FROM", "husserl@qq.com");
define("SMTP_FROMNAME", "高街时尚网");
define("SMTP_PASSWORD", "lulu851031");
define("SMTP_CHARSET", "UTF8");
define("SMTP_TIMEOUT", 20);
Debug::time('send mail start');
use KIF\Mail\Mail;
$objMail = new Mail();
$result = $objMail->send(array(
'address' => 'husserl@qq.com',
'subject' => '你好,测试邮件啊哈哈',
));
Debug::time('send mail end');
Debug::log('mail send result', $result);
*/