headermask image

header image

category archive listing Category Archives: php

[How To] Implementing Shindig.

I should have written an article/tutorial on how to implement/use Shindig to convert your SNS into and OpenSocial compliant SNS. Time, however, has prevented me from doing it so far. May be sometime later.
For now, you can have a look at my presentation on the same topic. I had presented it at Barcamp Bangalore 7, [...]

Proposal for a new Array Syntax in PHP

A new array syntax has been proposed (for quite some time) for defining arrays in PHP. Currently, we use array() construct to create an array. Some examples could be:
$myArray = array(1, 2, 3, 4, 5);
$yourArray = array(1 => “one”, 2 => “two”, “three”);
$herArray = array(1, 2, 3, array(4 => “four”, “five”));
The proposal is to use [...]

Apache Headache: “no listening sockets available”

Update 1: I was unable to configure MySQL. Reason: It was installed in C:\(blah-blah) and , probably, do not have write rights in the directory. Installing it to D:\(bigBlah) solved the issue. Duh!
Update 2: I see a fairly good traffic coming here searching for the same problem. So, in case you are in a hurry, this [...]

Apache-MySQLPHP Installation & Configuration Tutorial for Beginners :)

Hi,
This article is a very “narrow” tutorial aimed for complete beginners and dummies, who want to start off coding with AMP (Apache-MySQL-PHP) but do not want to read manual for installing and configuring them.
This write up is very specifically targeted and applies for Windows platform.

Note: To get the real and complete understanding, spend some time [...]