<?php
try {
$conn = new PDO('mysql:host=11.22.33.44;dbname=adj', 'adj', '12345678', array(PDO::MYSQL_ATTR_INIT_COMMAND => "SET NAMES utf8"));
echo 'Connecting';
} catch(PDOException $ex) {
echo $ex->getMessage();
unset($conn);
exit();
}
?>
歡迎光臨 ADJ網路實驗室 (http://dz.adj.idv.tw/) | Powered by Discuz! 6.0.0 |