Friday, July 26, 2013

Hello world application with database connection in YII



The Fast, Secure and Professional PHP Framework . Yii is a high-performance PHP framework best for developing Web 2.0 applications. Download the latest version of the YII Framework. Extract the file which will have YII Library files. Don’t modify these codes as it will be used as library.
Check the system requirement by running http://localhost/nachi2013/yii_library/requirements/ as per your folders.

Tuesday, July 16, 2013

How to post a tweet from website using PHP

Twitter has updated their API from 1 to 1.1 where we needed a code for posting tweets from our website. I searched lot of codes but finally came across this one here.

We first need to create a twitter application here. Sign in with your twitter account. After creating a application, you ll get your access token, access secret, consumer key and consumer secret. Make sure, that your application is on read and write permission.

Thursday, April 4, 2013

PHP - Grabbing Email Using POP3

The following code will grab the mails from hotmail. Enter the username and password credentials for login. You can also grab mails from gmail, yahoo etc.

Saturday, March 16, 2013

How to Create a SSL Certificate on Apache for Ubuntu 12.04

About SSL Certificates

A SSL certificate is a way to encrypt a site's information and create a more secure connection. Additionally, the certificate can show the virtual private server's identification information to site visitors. Certificate Authorities can issue SSL certificates that verify the server's details while a self-signed certificate has no 3rd party corroboration.

Friday, March 15, 2013

How to Setup Apache Virtual Hosts on Ubuntu 12.04 LTS

About Virtual Hosts

Virtual Hosts are used to run more than one domain off of a single IP address. This is especially useful to people who need to run several sites off of one virtual private server. The sites display different information to the visitors, depending on with which the users accessed the site.There is no limit to the number of virtual hosts that can be added to a VPS.

ShareThis