lundi 26 janvier 2015

Connect to SQLITE using PHP from Another Host

how to make PHP to take solite database from other computer/Host ?



<?php class MyDB extends SQLite3 {`enter code here`
function __construct()
{
$this->open('datab.sqlite');
} }


$db = new MyDB(); if(!$db){



echo $db->lastErrorMsg(); } else {
//echo "Opened database successfully\n"; }


?>


Aucun commentaire:

Enregistrer un commentaire