9lessons:Ajax Upload and Resize an Image with PHP.

9lessons:Ajax Upload and Resize an Image with PHP.

Link to 9lessons Programming Blog

Ajax Upload and Resize an Image with PHP.

Posted: 30 Jul 2014 10:39 PM PDT

Today I am presenting the most important social networking feature called ajax upload and resize an image without refreshing the page using jquery and PHP. This tutorial a continuation of my previous post, I just included image re-sizing function for different dimensions. It is very useful for your web project that saves lots of hosting space and bandwidth limit. Take a quick look at the live demo.

 Ajax Upload and Resize an Image with PHP.

Read more »


Post a Comment

C Programming

C Programming


Computer data storage Unit with Comparison their values

Posted: 26 Jul 2014 11:35 AM PDT

Q. What is data storage unit in computer? Compare the storage unit as bit, nibble, byte, kilobyte, megabyte, gigabyte, terabyte, pitabyte, exabyte and so on.

Ans. 

Storage unit is used to measurement of data. In other word the capacity of storage medium is measured in bytes.

There are various storage unit(smallest & biggest) available in the modern computer era. The smallest storage unit is bit. bit is also called binary digit(b) or simple "binary". Hence the value of bit is 0 or 1.

The following table shows the list of computer data storage unit as smallest to biggest:



S.No. Decimal(~) Storage Unit Comparison
1 - Bit (b) -
2 Nibble 4 bit = 1 Nibble
3 - Byte (B) 8 bit = 1 Byte
4 103 Kilobyte (K) 1024 Byte = 1 Kilobyte
5 106 Megabyte (M) 1024 Kilobyte = 1 Megabyte
6 109 Gigabyte (G) 1024 Megabyte = 1 Gigabyte
7 1012 Terabyte (T) 1024 Gigabyte = 1 Terabyte
8 1015 Petabyte (P) 1024 Terabyte = 1 Petabyte
9 1018 Exabyte (E) 1024 Petabyte = 1 Exabyte
10 1021 Zetta (Z) 1024 Exabyte = 1 Zettabyte
11 1024 Yottabyte (Y) 1024 Zettabyte = 1 Yottabyte
12 1027 Xonabyte (X) 1024 Yottabyte = 1 Xonabyte
Table: Computer data storage Unit with Comparison their values

Related Articles:

  1. Comparison of Million-Billion-Trillion V/S Lakh-Crore-Kharab
  2. How to convert any number to simple word C program?
  3. How to convert any number to grammatical word C program?


Post a Comment

C++ Programs and Projects

C++ Programs and Projects


Largest of Two Nos

Posted: 08 Dec 2010 10:26 AM PST

Click Here To Download C++ File Of This Program

 //lar & small  
//Downloaded From www.c4cpp.co.nr. (C)2009.All rights reserved.
#include<iostream.h>
#include<conio.h>
void main()
{
clrscr();
int b,s,g=0,l=35000,n,i,a;
cout<<"Enter how many nos u want to enter"<<endl;
cin>>n;
for(i=1;i<=n;i++)
{
cin>>a;
if(a>g)
g=a;
if(a<l)
l=a;
}
cout<<"Big ="<<g;
cout<<"Small ="<<l;
getch();
}


Post a Comment

9lessons:Google Blogger 404 Page Redirection

9lessons:Google Blogger 404 Page Redirection

Link to 9lessons Programming Blog

Google Blogger 404 Page Redirection

Posted: 15 Jul 2014 06:36 PM PDT

If you are using Google blogger you must setup 404 page redirections, if not this will affect your organic search results. I am using blogger since 2009 for 9lessons.info and I am not paying any hosting charges till today, I suggest everyone should start a blog with blogger. This post will explain you how to setup a blogger 404 redirection page in a simple way, now you can try here with wrong URLs.

Google Blogger 404 Page Redirection

Read more »


Post a Comment

9lessons:Ajax PHP Login Page with Shake Animation Effect.

9lessons:Ajax PHP Login Page with Shake Animation Effect.

Link to 9lessons Programming Blog

Ajax PHP Login Page with Shake Animation Effect.

Posted: 08 Jul 2014 08:11 PM PDT

I received few tutorial requests from my readers that asked to me how to create Ajax PHP login script, in this post I want to discuss how to create a simple Ajax PHP login with welcome page using MySQL database. This will explain you creating user tables, posting form values and storing and destroying the session values. If you are a PHP beginner take a quick look at this live demo with Username: 9lessons Password: 9lessons. This post has been updated with mysqli.

Ajax PHP Login Page

Read more »


Post a Comment

ComputerGeek

ComputerGeek


Find second and fourth saturday's of the month in PHP-MySql

Posted: 08 Jul 2014 10:55 PM PDT

Find second and fourth saturday's of the month in PHP-MySql In this section, I have created simple script in PHP to find second(2nd) and fourth(4th) Saturday of the month. <?php // Mysql Connection $conn = mysql_connect('localhost','root',''); if (!$conn) { die('Could not connect to MySQL: ' . mysql_error()); } echo 'Connection OK'; mysql_close($conn); // Select Database mysql_select_db("


Post a Comment