Author Archives: prabin t p

About prabin t p

Connect with me on Google+

Git Tutorial To Install Setup Config

Share on TwitterDigg This

Git is distributed version control system like SVN,CSV,.. but better.Written by Linus Torvalds Git keep track of all versions. Therefore you can revert to any point in your source code history How To Install Git in Linux? Install the Git … Continue reading

Codeigniter PHP Amazon Product Advertising API (APAA) library

Share on TwitterDigg This

Using amazone web service and php codeigniter, call Product Advertising API that provides programmatic access to Amazon’s product selection and discovery functionality so that developers can advertise Amazon products to your website. demoGithub codeigniter library file to do all amazon … Continue reading

Get count of rows from joined tables in Codeigniter

Share on TwitterDigg This

we can select count the number of rows in a joined table using codeigniter active record For simple example consider two tables vehicles and trips.By join this two tables we need to list the vehicle with total count of trips … Continue reading

Find php.ini file and Turn on CURL for PHP

Share on TwitterDigg This

we can find php.ini file at C:\wamp\bin\php\php5.3.13\php.ini for linux /etc/php5/cli/php.ini Edit the php.ini file remove the semicolon from the beginning of the extension line “;extension=php_curl.dll” and save.

Codeigniter base url config for Multiple Sub-Domains

Share on TwitterDigg This

In application config.php file Set the base_url value using server http_host information to run CodeIgniter app over multiple sub-domains $config[’base_url’] = ‘http://’ . $_SERVER[’http_host’] . ‘/’;

How to Download and Mirror a Website in Linux wget Command

Share on TwitterDigg This

GNU Wget is a free utility for non-interactive download of files from the Web. It supports HTTP, HTTPS, and FTP protocols, as well as retrieval through HTTP proxies. Download website content using wget linux comment By using wget we can … Continue reading

How to create simple map using google map javascript api v3

Share on TwitterDigg This

Start to create google maps using api Simple way to start develop the Google Maps API is to see a simple example.people familiar with JavaScript programming and object-oriented programming concepts can easily capture <html> <head>   <meta name="viewport" content="width=device-width, initial-scale=1.0, … Continue reading

Subquery in codeigniter active record where in

Share on TwitterDigg This

Found issue while using subquery in codeigniter active record where in SELECT * FROM school WHERE id NOT IN(SELECT id FROM vehicle ); how we can write above query using codeigniter active record ->where() support passing any string to it … Continue reading

Read xml using jQuery using find() each() function doesn’t return data not work in IE

Share on TwitterDigg This

Reading XML with jQuery For reading the XML, we need to find the data written within it and do something with it. We start by reading the xml data and using the find method to get all the nodes that … Continue reading

Codeigniter dropdown onchange jquery

Share on TwitterDigg This

On changing the drop down value we can find that event using jquery change function.Load jquery and use the bellow code for getting the onchange dropdown event. codeigniter dropdown having onchange event using jquery <script> $("#dropdown_id").change(function(){ alert(‘change the dropdown value’); … Continue reading