icon-blog

My blog


AJAX, jQuery File upload with the additional form fields

I have been searching a good file upload plugin with jQuery, PHP. I was searched a lot on internet for the cross browser AJAX upload for my website feature, Sadly not found a single plugin that work as per my … Readmore +

Category: Ajax, jquery

Add Hour Minute in DateTime Mysql

To add Hour in datetime column use the following query: UPDATE users SET `timestamp` = DATE_ADD(timestamp, INTERVAL 1 SECOND); UPDATE users SET `timestamp` = DATE_SUB(timestamp, INTERVAL 1 SECOND); UPDATE users SET `timestamp` = DATE_SUB(timestamp, INTERVAL 1 SECOND); UPDATE users SET … Readmore +

Category: MySql

file Upload permission on ubuntu /var/www

Step 1: Open terminal Step 2: Login as root $ su root Enter your root password and login. Step 3: type or copy/paste this command $ chown -R www-data:www-data /var/www/project-folder-name You are done!  

Category: PHP, ubuntu 13.10

no XSLT processor available – PHP

Install the XSLT using the following command on the ubuntu terminal. sudo apt-get install php5-xsl Press “y” When asked by system. You are done.

Category: PHP, ubuntu 13.10

file upload permission ubuntu PHP

here is the simple commands u have to type in the terminal to allow the file upload permission from PHP on ubuntu.    $ chown prashant:www-data /var/www/ $ chmod -R 777 /var/www/ “prashant” is a ubuntu user of my system, … Readmore +

Category: ubuntu 13.10