{"id":5304,"date":"2015-12-20T16:48:28","date_gmt":"2015-12-20T14:48:28","guid":{"rendered":"http:\/\/www.karadere.com\/blog\/?p=5304"},"modified":"2016-05-07T15:18:55","modified_gmt":"2016-05-07T12:18:55","slug":"sql-lite3-ile-php-baglantisi-notlarim","status":"publish","type":"post","link":"https:\/\/www.karadere.com\/blog\/sql-lite3-ile-php-baglantisi-notlarim.html","title":{"rendered":"SQL Lite3 ile php ba\u011flant\u0131s\u0131 notlar\u0131m"},"content":{"rendered":"<p>conf.ini php.ini ayarlar\u0131<\/p>\n<p>[ExtensionList]<br \/>\nextension=php_mysql.dll<br \/>\nextension=php_mysqli.dll<br \/>\nextension=php_mbstring.dll<br \/>\nextension=php_gd2.dll<br \/>\nextension=php_gettext.dll<br \/>\nextension=php_curl.dll<br \/>\nextension=php_exif.dll<br \/>\nextension=php_xmlrpc.dll<br \/>\nextension=php_openssl.dll<br \/>\nextension=php_soap.dll<br \/>\nextension=php_pdo_mysql.dll<br \/>\nextension=php_pdo_sqlite.dll<br \/>\nextension=php_imap.dll<br \/>\nextension=php_tidy.dll<br \/>\nextension=php_sqlite3.dll<\/p>\n<p>&nbsp;<\/p>\n<p>C:\\Program Files (x86)\\IIS Express\\PHP\\v5.6\\php.ini \u00a0dosyas\u0131na \u00a0[ExtensionList] de\u00a0extension=php_sqlite3.dll ekliyoruz. sonra;<\/p>\n<p>a\u015fa\u011f\u0131daki kod ile deniyoruz ve \u00e7al\u0131\u015f\u0131yor ise php sqlite provider ba\u015far\u0131 ile tan\u0131mlanm\u0131\u015ft\u0131r.<\/p>\n<p>class MyDB extends SQLite3<br \/>\n{<br \/>\nfunction __construct()<br \/>\n{<br \/>\n$this-&gt;open(&#8216;db\/data.db&#8217;);<br \/>\n}<br \/>\n}<br \/>\n$db = new MyDB();<br \/>\nif(!$db){<br \/>\necho $db-&gt;lastErrorMsg();<br \/>\n} else {<br \/>\necho &#8220;Opened database successfullyn&#8221;;<br \/>\n}<\/p>\n<p>&nbsp;<\/p>\n<p><a href=\"http:\/\/www.tutorialspoint.com\/sqlite\/sqlite_php.htm\" target=\"_blank\">http:\/\/www.tutorialspoint.com\/sqlite\/sqlite_php.htm<\/a><\/p>\n<p><a href=\"http:\/\/www.sqlitemanager.org\/en\/installation\/sqlite\/installing-sqlite3-on-windows.html\" target=\"_blank\">http:\/\/www.sqlitemanager.org\/en\/installation\/sqlite\/installing-sqlite3-on-windows.html<\/a><\/p>\n<p>&nbsp;<\/p>\n<p><a href=\"https:\/\/vs.componentsource.com\/lifecycle\/develop\" target=\"_blank\">https:\/\/vs.componentsource.com\/lifecycle\/develop<\/a><\/p>\n<p>&nbsp;<\/p>\n","protected":false},"excerpt":{"rendered":"<p>conf.ini php.ini ayarlar\u0131 [ExtensionList] extension=php_mysql.dll extension=php_mysqli.dll extension=php_mbstring.dll extension=php_gd2.dll extension=php_gettext.dll extension=php_curl.dll extension=php_exif.dll extension=php_xmlrpc.dll extension=php_openssl.dll extension=php_soap.dll extension=php_pdo_mysql.dll extension=php_pdo_sqlite.dll extension=php_imap.dll extension=php_tidy.dll extension=php_sqlite3.dll &nbsp; C:\\Program Files (x86)\\IIS Express\\PHP\\v5.6\\php.ini \u00a0dosyas\u0131na \u00a0[ExtensionList] de\u00a0extension=php_sqlite3.dll ekliyoruz. sonra; a\u015fa\u011f\u0131daki kod ile deniyoruz ve \u00e7al\u0131\u015f\u0131yor ise php sqlite provider ba\u015far\u0131 ile tan\u0131mlanm\u0131\u015ft\u0131r. class MyDB extends SQLite3 { function __construct() { $this-&gt;open(&#8216;db\/data.db&#8217;); } } $db = [&hellip;]<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"om_disable_all_campaigns":false,"_monsterinsights_skip_tracking":false,"_monsterinsights_sitenote_active":false,"_monsterinsights_sitenote_note":"","_monsterinsights_sitenote_category":0,"_uf_show_specific_survey":0,"_uf_disable_surveys":false,"footnotes":"","_links_to":"","_links_to_target":""},"categories":[41],"tags":[],"class_list":["post-5304","post","type-post","status-publish","format-standard","hentry","category-programlama-software","has-post-title","has-post-date","has-post-category","has-post-tag","has-post-comment","has-post-author",""],"aioseo_notices":[],"views":1384,"_links":{"self":[{"href":"https:\/\/www.karadere.com\/blog\/wp-json\/wp\/v2\/posts\/5304","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/www.karadere.com\/blog\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.karadere.com\/blog\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.karadere.com\/blog\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/www.karadere.com\/blog\/wp-json\/wp\/v2\/comments?post=5304"}],"version-history":[{"count":1,"href":"https:\/\/www.karadere.com\/blog\/wp-json\/wp\/v2\/posts\/5304\/revisions"}],"predecessor-version":[{"id":5561,"href":"https:\/\/www.karadere.com\/blog\/wp-json\/wp\/v2\/posts\/5304\/revisions\/5561"}],"wp:attachment":[{"href":"https:\/\/www.karadere.com\/blog\/wp-json\/wp\/v2\/media?parent=5304"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.karadere.com\/blog\/wp-json\/wp\/v2\/categories?post=5304"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.karadere.com\/blog\/wp-json\/wp\/v2\/tags?post=5304"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}