Latest news

copy data from one mysql field to another mysqlfield

Mysql have this option to copy one field data to another field. For this purpose run a simple query. $UserlevelMigrationQuery     = “UPDATEusers SET  level_id = ‘4’, preunii_email =  email, migration_date = NOW(), email_verify = ‘0’ WHERE level_id = 7″; $UserlevelMigrationResult    = mysql_query($UserlevelMigrationQuery, $connection)  or die(mysql_error());

Read More »

Zend magento(PHP) developer vacancy at kadavanthra cochin

There is a good opportunity  of  Zend/magento developer at  kadavanthara. Magento is a + . If some body join he will be the 4th person in that company. Job Position: PHP zend/magento developer. Salary: Negotiable Experience:   2+ yrs Requirement:Immediate Interested candidates can send your resume to aneesh@2HATSLOGIC.COM Contact No: +91 9526138575 Note:Please put reference of  Mr. anish Ravidranath

Read More »

.htaccess redirect not working apache

1.Configure apache mod_rewrite,run in terminal a2enmod rewrite 2. add the following code to /etc/apache2/sites-available/default DocumentRoot /var/www <Directory /> Options FollowSymLinks  AllowOverride All </Directory> <Directory /var/www/> Options Indexes FollowSymLinks MultiViews AllowOverride All Order allow,deny allow from all </Directory> 3.Restart apache /etc/init.d/apache2 restart    

Read More »

how to find and kill a process using particular port

Use the following command for stop a process using port 80 .This example is based on Ubuntu Linux operating system. Commands need to run in terminal sudo netstat -lpn |grep :80 tcp6       0      0 :::80                   :::* LISTEN      1185/apache2 sudo kill 1185

Read More »

Bootstrap Tooltip intialization

Some times ajax loading is required for refresh content of a page. That time bootstarp tooltip is not work smoothly. That time we need to re-initialize the bootstrap tootip js using following code. After that tooltip will work like normal. <ul><li> <a href=”javascript:void(0);” rel=”smarttooltip” data-original-title=” Total hits of posts over last month “><?php echo $this->influences; ?></a> <span>Hits</span> </li></ul> <script type=”text/javascript”> ...

Read More »