Monday, August 03, 2009

Building a Database-Driven Application with the Code Igniter PHP Framework

This article explains the below.

1. Introducing the Code Igniter PHP framework
2. Retrieving user-related data from a MySQL table
3. Defining a controller class
4. Outputting user-related data with Code Igniter

Designing a Captcha System with PHP and MySQL

This articles explains the below.

1. Designing a Captcha System with PHP and MySQL
2. The Captcha Image Generation Script
3. The PHP Form with Captcha-Generated Challenge
4. Captcha System Without GD Support

How to redirect browser to https (ssl) in php

Most of the e-commerce website uses payment gateway for online payment. And, those sites uses SSL (secure socket layer) connection to transfer data to and from the payment gateway.

In the common scenario, most of the sites uses “http” protocol and you can see “http” in the browser’s address bar. But in the above scenario,we need to redirect the browser to “https” which means that “Hypertext Transfer Protocol over Secure Socket Layer”.

Ok let’s see a real example, type “http://www.gmail.com” in browser after a while the “http” gets converted to “https” in address bar, which means this site is transferring the data over SSL protocal.

Creating and Parsing JSON data with PHP

This article describes about what is JSON and how we can handle it via PHP. Although, JSON stands JavaScript Object Notation, it is used by many other technologies like PHP and Java for data interchange format over the Internet.

5 useful url rewriting examples using .htaccess

If you are looking for the examples of URL rewriting then this post might be useful for you. In this post, they’ve given five useful examples of URL rewriting using .htacess. If you don’t know something about url rewriting then please check here for url rewriting using .htaccess.