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.

ShareThis