PHP SQLite3 Extended Password encryption
With Wxsqlite3 in the Sqlite3 encrypted code finally compiled the PHP sqlite3 extension file, but the embarrassing thing came ... PHP statement, Sqlite3 set the password, change the password and other statements is what ah ... I can't seem to find it online.
Reply to discussion (solution)
Print_r (Get_extension_funcs ("sqlite3"));
Print_r (Get_extension_funcs ("sqlite3"));
Used but the output of a blank, but this sqlite3.dll because I compiled from the source code so at least build a database, query I still tried to use AH ...
If you hadn't loaded it, if it weren't for the wrong name
If you hadn't loaded it, if it weren't for the wrong name
$db = new SQLite3 (' test1.db ');
$sql 1 =
' CREATE TABLE User (username varchar (255), Password varchar (255)) ';
$db->query ($sql 1);
$sql 2 = ' INSERT into user (username, password) VALUES ("11111", "champs-elysees") ';
$db->query ($sql 2);
$re = $db->query (' select * from user ');
while ($row = $re->fetcharray ()) {
Print_r ($row);
}
This code can be executed there is no problem sqlite3 not loaded it? PHP.ini I wrote the name is Sqlite3 ah ... Is there anywhere else you can drop the extension name?
That is to say: your SQLite3 extension does not provide a discrete function that only provides the SQLite3 class
View the methods provided by SQLite3
Print_r (Get_class_methods (' SQLite3 '));
To view defined classes
Print_r (Get_declared_classes ());
That is to say: your SQLite3 extension does not provide a discrete function that only provides the SQLite3 class
View the methods provided by SQLite3
Print_r (Get_class_methods (' SQLite3 '));
To view defined classes
Print_r (Get_declared_classes ());
Oh oh oh, I changed the whole PHP into XAMPP, the integrated PHP read the results are the same .... Isn't sqlite3 an extension? I don't know why I put it in ext.
Thanks, boss.