Open Root Terminal (Applications -> System Tools -> Root Terminal).
Type
sudo gedit /etc/php5/apache2/php.ini
and press enter key.
You will get gedit application with the php.in file.
Search for the words post_max_size & upload_max_filesize.
If you found the words you will see a = after the word post_max_size & upload_max_filesize.
Change the number as you want (Default will be 1M or 2M).
After editing save the file and restart Apache Web Server by opening Root Terminal and pasting this code
How to create a Localhost site on Apache Server in Ubuntu Linux – Video Tutorial
... [READ MORE]
Contribute : Guest Posts
If you are a guest post writer and want to write a post for this blog, send your post to [email protected]. If your post is great / suits to the guidelines of this blog, I will approve it and publishes it under your name.
If you have feedbacks / suggestions please contact the administrator of this blog via [email protected]
... [READ MORE]Microsoft’s New Logo
Refresh a Div container in equal intervals of time
jQuery Code
<script src="http://code.jquery.com/jquery-latest.js"></script>
<script>setInterval(function() {$('#refreshdiv').load('divcontainer.html')}, 10000);</script>
divcontainer.html
This is loading in the div #refreshdiv.
This example will load divcontainer.html in the div #refreshdiv and refresh the div after 10 seconds.
If you want to change the file to load replace divcontainer.html in the jquery code to the file name you want to use.
If you want to change the number of seconds, replace 10000 with the number to refresh(Must be in milliseconds).
If you want help comment on this post.
Insert XML Data to MySQL Table Using PHP
<pre class="prettyprint"><code><span style="font-family: inherit;"><items></span>
<span style=“font-family: inherit;"> <item></span> <span style=“font-family: inherit;"> <title>Google</title></span> <span style=“font-family: inherit;"> <url>google.com</url></span> <span style=“font-family: inherit;"> </item></span> <span style=“font-family: inherit;"> <item></span> <span style=“font-family: inherit;"> <title>Google Accounts</title></span> <span style=“font-family: inherit;"> <url>accounts.google.com</url></span> <span style=“font-family: inherit;"> </item></span> <span style=“font-family: inherit;"></items> </span>
... [READ MORE]How to Empty Trash of root user in Ubuntu
Privilege granting extension for nautilus using gksu
The gksu extension for nautilus allows you to open files with administration privileges using the context menu when browsing your files with nautilus.
Reboot computer after installing nautilus-gksu
Open your home folder.
Right click on any folder and click Open as administrator.
You will enter root user.
On the left pane you will see root home.
Make a short url for Google + Profile
eg: Redirect from http://gplus.to/subinsiby to https://plus.google.com/u/0/100940821362767953768/
You can do this using Google Plus Nick
Go to Google Plus Nick and follow the instructions
... [READ MORE]Custom Cursor CSS
SEE DEMO
Copy this css code to your html page.
body {cursor: url(https://lh5.googleusercontent.com/-u1rSVKP3Vpc/UAEqLZnKv0I/AAAAAAAABCQ/3alnkvGlnlQ/s32/cursor.png), url(https://lh5.googleusercontent.com/-u1rSVKP3Vpc/UAEqLZnKv0I/AAAAAAAABCQ/3alnkvGlnlQ/s32/cursor.png), auto; }
body {cursor: url(https://lh5.googleusercontent.com/-u1rSVKP3Vpc/UAEqLZnKv0I/AAAAAAAABCQ/3alnkvGlnlQ/s32/cursor.png), url(https://lh5.googleusercontent.com/-u1rSVKP3Vpc/UAEqLZnKv0I/AAAAAAAABCQ/3alnkvGlnlQ/s32/cursor.png), auto;}