<html> <head><title>PHP TEST</title></head> <body> <?php require_once 'DB.php'; $dsn = array( 'phptype' => 'sqlite', 'database' => 'D:\Apache Group\Apache2\htdocs\sqlite\test.db', ); $db = DB::connect($dsn); if (PEAR::isError($db)) { die($db->getMessage()); } print('接続に成功しました'); $db->disconnect(); ?> </body> </html>