You can also connect to PostgreSQL via a UNIX domain socket by leaving the host empty. This should have less overhead than using TCP e.g.: $dbh = new PDO('pgsql:user=exampleuser dbname=exampledb password=examplepass');
via jp.php.net
書き方も簡潔だし、なかなかよい
via ひひーん!
0 件のコメント:
コメントを投稿