Jul 31, 2011

PHP Live Chat Scripts

Following are two good chat scripts which are easy to integrate and have extensive functionality.
1. Free Live Chat by Comm100
2. Helpcenter Live Support

May 12, 2011

How to add a navigation menu

A simple jquery based navigation menu which is very easy to configure and customize can be found here.

May 11, 2011

Jquery Slider

A cool and easy to integrate Jquery Slider with few options can be found here

Apr 28, 2011

How to split data in php

You can use the explode function to split data in PHP.

$url = "http://www.domain.com/images.jpg";

$data = explode("/", $url);

$var = $data[count($data) - 1];

Apr 12, 2011

Adding a dynamic navigation bar

To add a dynamic navigation bar you can use following simple code for reference.
$navitems = array('filename1.php' => 'Page Name 1', 'filename2.php' => 'Page Name 2');

echo "<ul>\n";

foreach ($navitems AS $k => $v) { 
 echo '<li><a href="' . $k . '" title="' . $v . '">' . $v . "</a></li>\n";

echo "</ul>\n";

Apr 5, 2011

Adding an editable grid

When you are developing web applications there are situations in which you would like to add an editable grid to the application. Here is the one that can be used for free under GPL.

Jan 16, 2011

How to identify the active php.ini

In the development environment sometimes when you have multiple versions of PHP installed on the same wamp setup you need to know which version of php.ini is active.

You can get the path by creating a phpinfo.php file and simply calling the function phpinfo() in it.

Access the file through your browser. It will list all the relevant information about your PHP/MySQL version. Locate the Loaded Configuration File variable and use that path to make changes in the active php.ini file.