Posts marked with "Posts" in posts

Upload more than 1 MB file in PHP.

Some may have problem with uploading file more than 1 MB or 2 MB. You can fix this by editing the configuration file of PHP. To fix this follow the steps.

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

... [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

Microsoft got a new Logo after 25 years. Here is the new logo.

This Microsoft New logo contains the four sqaure and the name of the company. Logo designer Sagi Haviv for the Library of Congress and Armani Exchange, thinks that the logo simply isn’t distinctive enough. By opting for a simple array of four colored squares, Haviv says Microsoft missed a big opportunity.It kinda looks like Google’s Logo.
Here’s a image I found in Google +.
The image is right. It looks like the Nazi Symbol. But it’s a good logo.
Hoping Windows 8 would be good.
... [READ MORE]

Refresh a Div container in equal intervals of time

Hi this tutorial will help you to refresh a div every 10 seconds. You can change the seconds if you want. For this we are going to use Jquery.

The html of the div container 

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.

... [READ MORE]

Insert XML Data to MySQL Table Using PHP

This tutorial will help you to insert XML file’s contents to a MySQL Database table using php. Note- If you can’t open PHP files in browser in Ubuntu Linux See the Tutorial : http://subinsb.com/how-to-open-php-files-in-ubuntu-instead-of-downloading

This is the XML data we are going to insert in to our MySQL Table.

<pre class="prettyprint"><code>&lt;span style="font-family: inherit;">&lt;items&gt;&lt;/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

Install nautilus-gksu
About Nautilus-gksu

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.

... [READ MORE]

Custom Cursor CSS

This css code will help you to add custom cursor image.

SEE DEMO

Copy this css code to your html page.

OR
Copy this to your css file

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;}

... [READ MORE]

Follow/Subscribe

Telegram 

Mastodon  Twitter

GitHub GitLab

Subdomains

Demos  Lab

Past

This blog was once on WordPress. Now a static site. See source code on

GitLab