New XAMPP security concept [solved] Facebook PHP SDK and CodeIgniter for basic user authentication | Danny Herran. With CodeIgniter 2, plugins are no longer an option. Usually you would just add the Facebook PHP SDK as a plugin and you were good to go, but now, you need to make a little modification to the SDK in order to use Facebook Connect on your CodeIgniter application. Lets start by explaining what is, how to get started and how to authenticate an user using the Facebook API.
In this post I will only cover the user authentication process using the Facebook PHP SDK. However, you can do almost anything with the API, just take a look at the official documentation if you have any doubts: All the methods related to the user object (very useful): First of all, a couple of links so you can download the necessary files:CodeIgniter: PHP SDK: (download the 3 files inside the /src/ folder).
SQLite PHP tutorial. Home This is a PHP programming tutorial for the SQLite database. It covers the basics of SQLite programming with PHP language. There are two ways to code PHP scripts with SQLite library. We can use procedural functions or OOP objects and methods. In this tutorial, we use the classical procedural style. You might also want to check the PHP tutorial , SQLite tutorial or SQLite Perl tutorial on ZetCode. Installation To work with this tutorial, you must install several packages. The document root directory is a directory, where you place your html and php files.
The document root for apache2 server can be changed at /etc/apache2/sites-available/default file. DocumentRoot /var/www/ This is a portion of the above mention configuration file. We should also edit the php.ini file to turn the magic quotes off. Magic Quotes is a process that automatically escapes incoming data to the PHP script. This is a portion of the php.ini file. A web server must have a write & execute access to the directory. Learn Python The Hard Way. OverAPI.com | Collecting all the cheat sheets.