Shiki

no awesome tagline here

Tag: php

Creating a custom image service for Twitter for iPhone

We’ve just recently deployed a custom endpoint to allow Twitter for iPhone users to post their pics through PicLyf. When you attach an image to a tweet, Twitter for iPhone will upload that image to the image service of your choice. It allows you to choose from various image services (e.g. yFrog, Twitpic, TweetPhoto) or [...]

The undefined curl function in console (WampServer)

Stupid stupid me. On Windows/WampServer, I’ve always had this problem when working with PHP code that can run in the console and using cURL methods.. PHP Fatal error: Call to undefined function curl_init() in D:\Shiki\github\yii-clockwerk\test-app\CurlHelper.php on line 90 Fatal error: Call to undefined function curl_init() in D:\Shiki\github\yii-clockwerk\test-app\CurlHelper.php on line 90 It (cURL) works in the [...]

FirePHP Logger for Yii Framework

I made this a few weeks ago. It is a Yii Framework extension which routes log messages to FirePHP. Requirements Download the extension from the Yii Framework extension page or GitHub. Install Firebug and FirePHP plugins for Firefox. Enable output_buffering in php.ini. Installation Download and extract the “shiki” folder to your extensions directory. This is [...]

Installing Memcached for PHP 5.3 on Windows 7

First off, all credits go to this guy. I’m just listing the steps on how I did it in Windows 7 with PHP 5.3. Also, I tested this using WampServer but I believe it should work on any PHP install. Install memcached Download the Memcached Win32 library here: http://code.jellycan.com/memcached/. Extract the downloaded archive file in [...]