YouTube JavaScript Player API

YouTube JavaScript API allows users to control the YouTube chromeless or embedded video players via JavaScript. JavaScript API have methods for play, pause, seek to a certain time in a video, set the volume, mute the player, and other useful functions. <script type=”text/javascript”> // <![CDATA[ // allowScriptAccess must be set to allow the Javascript from … Read more

Fix File Upload on Nginx

Nginx (Engine-X) is a Web server and reverse proxy server for HTTP, SMTP, POP3 and IMAP, It have a strong focus on high concurrency, performance and low memory usage. Here are the steps to fix file upload on nginx. 1. SSH to nginx box 2. Edit nginx.conf a) backup the config file: # cp /etc/nginx/nginx.conf … Read more

PHP strip_tags not working

PHP have rich set of function to deal with errors 🙂 Sometime single setting in php.ini can effect the output of function. Magic Quotes is a process that automagically escapes incoming data to the PHP script. It’s preferred to code with magic quotes off and to instead escape the data at runtime, as needed. Magic … Read more

Stock Indicator using CSS Sprite

An image/css sprite is a collection of images put into a single image. A web page with many images can take a long time to load and generates multiple server requests. So, using image sprites we can reduce the number of server requests and save bandwidth. CSS Sprites can be generated using online Tools or … Read more

Install Union Development Platform

Union is a development platform for creating multiuser applications which runs in a central location on the Internet or a LAN. Users need to connect to Union server then users are in constant real-time contact or session. Users can send messages to/from Union Server. Application may be chat, game, shared document, widget on web page. … Read more

Recursive Function for Nested Categories

Nested Categories over Drop Down Categories and its sub categories are always useful while developing simple to huge applications. Here is a simple php code to create multi-leveled nested categories on select box to those categories. CREATE TABLE `tb_category` ( `id` int(11) NOT NULL AUTO_INCREMENT, `pid` int(11) NOT NULL, `name` varchar(255) NOT NULL PRIMARY KEY … Read more

SIP Web Phone

SIP Phone service which lets you use your SIP account anywhere in the world via their web based SIP service. The good thing is they already have a few popular SIP services pre-configured, so you don’t even have to configure their SIP. SIP (Session Initiation Protocol) is the most popular Voice over IP (VoIP) standard. … Read more

PHP PEAR File Download Package

The PEAR package contains: * PEAR installer, for creating, distributing and installing packages * PEAR_Exception PHP5 error handling mechanism * PEAR_ErrorStack advanced error handling mechanism * PEAR_Error error handling mechanism * OS_Guess class for retrieving info about the OS where PHP is running on * System class for quick handling of common operations with files … Read more

Record Audio from Websites

Flex is a platform for developing and deploying Applications that run on Flash player on Web using Red5 Server. Flex / Red5 applications are compiled to SWF files and are executed at runtime by Adobe Flash Player. Open source Red5 video flex flash recorder and player project allows you to insert a red5 / flex … Read more