How to create a thumbnail-PHP code

To create a thumbnail, you pass the function PIPHP_MakeThumbnail()a GD image object
and the maximum value of the greater dimension for the thumbnail. For example, the
following code loads in the image in test.jpgusing the imagecreatefromjpeg()function,
and then passes it to the plug-in, along with a maximum dimension of 100. The function
then returns the new thumbnail to the string variable $thumb, which is then saved to the file
thumb.jpgusing the imagejpeg()function.

$image = imagecreatefromjpeg("test.jpg");
$thumb = PIPHP_MakeThumbnail($image, 100);
imagejpeg($thumb, "thumb.jpg");
You can also output the thumbnail straight to the browser by first sending the correct
header, like this:
$image = imagecreatefromjpeg("test.jpg");
header("Content-type: image/jpeg");
imagejpeg(PIPHP_MakeThumbnail($image, 100));

The PHP GD library is so powerful that it can perform a variety of image manipulations you
would normally only find in a graphics program. In fact, you could probably build quite an
advanced image editor using them.
<?php
function PIPHP_MakeThumbnail($image, $max)
{
$thumbw = $w = imagesx($image);
$thumbh = $h = imagesy($image);
if ($w > $h && $max < $w)
{
$thumbh = $max / $w * $h;
$thumbw = $max;
}
elseif ($h > $w && $max < $h)
{
$thumbw = $max / $h * $w;
$thumbh = $max;
}
elseif ($max < $w)
{
$thumbw = $thumbh = $max;
}
return PIPHP_ImageResize($image, $thumbw, $thumbh);
}
?>

To perform an Edge Detect transformation on a file called photo.jpg,
you could use the following code, which will load a GD image object using the
imagecreatefromjpeg()function, and save the transformed image with the function
imagejpeg()
<?php
function PIPHP_ImageAlter($image, $effect)
{
switch($effect)
{
case 1: imageconvolution($image, array(array(-1, -1, -1),
array(-1, 16, -1), array(-1, -1, -1)), 8, 0);
break;
case 2: imagefilter($image,
IMG_FILTER_GAUSSIAN_BLUR); break;
case 3: imagefilter($image,
IMG_FILTER_BRIGHTNESS, 20); break;
case 4: imagefilter($image,
IMG_FILTER_BRIGHTNESS, -20); break;
case 5: imagefilter($image,
IMG_FILTER_CONTRAST, -20); break;
case 6: imagefilter($image,
IMG_FILTER_CONTRAST, 20); break;
case 7: imagefilter($image,
IMG_FILTER_GRAYSCALE); break;
case 8: imagefilter($image,
IMG_FILTER_NEGATE); break;
case 9: imagefilter($image,
IMG_FILTER_COLORIZE, 128, 0, 0, 50); break;
C h a p t e r  4 :  I m a g e  H a n d l i n g  71   C h a p t e r  4 :  I m a g e  H a n d l i n g  71
case 10: imagefilter($image,
IMG_FILTER_COLORIZE, 0, 128, 0, 50); break;
case 11: imagefilter($image,
IMG_FILTER_COLORIZE, 0, 0, 128, 50); break;
case 12: imagefilter($image,
IMG_FILTER_EDGEDETECT); break;
case 13: imagefilter($image,
IMG_FILTER_EMBOSS); break;
case 14: imagefilter($image,
IMG_FILTER_MEAN_REMOVAL); break;
}
return $image;
}
?>

PHP Functions
Php tutorial - imagemagick
php.ini Basics
PHP Sessions
Cookies Versus Sessions
PHP Web-Related Variables
PHP ERRORS
maximum size of a file uploaded
Php Image upload
php file_get_contents
MySQL Data on the Web
What are GET and POST
php and pdf
$_ENV and $_SERVER
PEAR with php
SELECTING DATA PHP
prevent hijacking with PHP
LAMP
PHP MySQL Functions
PHP Zip File Functions
Substrings PHP
PHP Variable names
PHP magic methods
How to get current session id
Add variables into a session
$_GET , $_POST,$_COOKIE
different tables present in mysql
PHP CURL
php Sessions page
PHP-sorting an array
PHP-count the elements of array
Operators for If/Else Statements
PHP file uploading code
PHP global variables
Testing working using phpinfo
PHP Code for a Valid Number
PHP-Associative Arrays
PHP mvc tutorial
PHP get_meta_tags-Extracts
difference between print and echo
PHP best tutorial-PHP variables
Reading DOC file in PHP
PHP interview questions
convert time PHP
PHP implode array elements
header function-PHP
PHP-Renaming Files Directories
PHP Classes
in_array function in PHP
keep your session secure PHP
Web Application with PHP
What is SQL Injection
PHP-extract part of a string
PHP urlencode
PHP- know browser properties
PHP- Extracting Substrings
Checking Variable Values /Types
PHP-best 20 Open Source cms
IP AddressPHP
PHP-Scope Resolution Operator
how create new instance of object
how eliminate an object
PHP- ob_start
XML file using the DOM API
PHP- MVC
PHP- CAPTCHA
PHP- Position of a Value in an Array
PHP-Mail Functions
PHP-difference include vs require
calculate the sum of values in an array
PHP-total number of rows
Show unique records mysql
MySQL Triggers
MySQL data directory
MySQL Subqueries
PHP- Networking Functions
PHP- Operators
Restore database
Conditional Functions mysql
PHP-function overloading
Friend function
mysql_connect /mysql_pconnect
PHP-Error Control Operators
what is IMAP
Apache-Specific Functions
Send Email from a PHP Script
SQL inherently
WAMP, MAMP, LAMP
Php tutorial-SYMBOLS
Table Types-MySQL
PHP-Encryption data management
PHP Array
Running MySQL on Windows
Maximum Performance MySQL
XML-RPC
PHP-static variables
Advanced Database Techniques
FTP
Codeigniter
Apache Pool Size
Why NoSQL
MySQL Server Performance
Database software
SQL Interview Answers
PHP Redirect
PHP Interview Questions with Answers
Advanced PHP

Free Windows Drivers Downloads

Free Windows Drivers Downloads

Downloads for Windows - Free Downloads and reviews

The most downloaded Downloads software, including Realtek High Definition Audio Codec (Windows 2000/XP/2003), Waterfox (64-Bit), and Data Lifeguard Diagnostic for Windows

Downloads for Windows - Free Downloads and reviews
The most downloaded Downloads software, including uTorrent, Ad-Aware Free Antivirus +, and Smart Defrag 3

Downloads for Windows - Free Downloads and reviews - CNET Download.com
The most downloaded Downloads software, including Avast Free Antivirus 2014, KMPlayer, and AVG AntiVirus Free 2014

Downloads for Windows - Free Downloads and reviews
The most downloaded Downloads software, including Avast Free Antivirus 2014, KMPlayer, and AVG AntiVirus Free 2014

Downloads for Windows - Free Downloads and reviews
The most downloaded Downloads software, including Avast Free Antivirus 2014, KMPlayer, and AVG AntiVirus Free 2014

Downloads for Windows - Free Downloads and reviews
The most downloaded Downloads software, including Free DivX Player, BF4 Emblem Generator, and Free M4V Player

Downloads for Windows - Free Downloads and reviews
The most downloaded Downloads software, including Avast Free Antivirus 2014, KMPlayer, and AVG AntiVirus Free 2014

Downloads for Windows - Free Downloads and reviews
The most downloaded Downloads software, including Avast Free Antivirus 2014, KMPlayer, and AVG AntiVirus Free 2014

Downloads for Windows - Free Downloads and reviews
The most downloaded Downloads software, including Avast Free Antivirus 2014, KMPlayer, and AVG AntiVirus Free 2014

Downloads for Windows - Free Downloads and reviews -
The most downloaded Downloads software, including Realtek High Definition Audio Codec (Windows 2000/XP/2003), Predator Free Edition (64-bit), and nVidia Graphics Driver (Windows XP Professional x64 Edition/Server 2003 x64 Edition)

The Most Important Item in SEO - All Links

http://seo-tips-tech.blogspot.com/2011/09/seo-tips.html
http://seo-tips-tech.blogspot.com/2012/06/analytics-and-tracking.html
http://seo-tips-tech.blogspot.com/2012/07/advanced-techniques-for-seo.html
http://seo-tips-tech.blogspot.com/2012/07/create-seo-friendly-urls.html
http://seo-tips-tech.blogspot.com/2012/07/html-intro.html
http://seo-tips-tech.blogspot.com/2012/07/html-tags_11.html
http://seo-tips-tech.blogspot.com/2012/07/html.html
http://seo-tips-tech.blogspot.com/2012/07/off-page-seo-strategies.html
http://seo-tips-tech.blogspot.com/2012/07/seo-articles-targeted-clients.html
http://seo-tips-tech.blogspot.com/2012/07/seo-tips-for-google.html
http://seo-tips-tech.blogspot.com/2012/07/use-email-newsletters-for-traffic.html
http://seo-tips-tech.blogspot.com/2012/09/character-entities.html
http://seo-tips-tech.blogspot.com/2012/09/improve-structure-of-your-urls.html
http://seo-tips-tech.blogspot.com/2012/09/key-factors-effecting-link-quality.html
http://seo-tips-tech.blogspot.com/2012/09/picking-right-keywords.html
http://seo-tips-tech.blogspot.com/2012/09/sectioning-html5-elements.html
http://seo-tips-tech.blogspot.com/2012/09/to-include-inline-javascript-code-place.html
http://seo-tips-tech.blogspot.com/2012/09/web-application-with-php.html
http://seo-tips-tech.blogspot.com/2012/10/search-ranking-algorithm-social-sharing.html
http://seo-tips-tech.blogspot.com/2012/10/seo-research-and-analysis.html
http://seo-tips-tech.blogspot.com/2012/10/seoo-traffic-sources.html
http://seo-tips-tech.blogspot.com/2012/10/top-search-engine-ranking-factors.html
http://seo-tips-tech.blogspot.com/2013/01/search-engine-indexing.html
http://seo-tips-tech.blogspot.com/2013/01/selecting-data-in-php.html
http://seo-tips-tech.blogspot.com/2013/01/seo-companies-india.html
http://seo-tips-tech.blogspot.com/2013/01/seo-companies-new-york.html
http://seo-tips-tech.blogspot.com/2013/01/seo-companies-united-states.html
http://seo-tips-tech.blogspot.com/2013/03/blog-marketing.html
http://seo-tips-tech.blogspot.com/2013/03/business-with-seo.html
http://seo-tips-tech.blogspot.com/2013/06/advanced-seo-interview-questions.html
http://seo-tips-tech.blogspot.com/2013/06/article-submission-site-list.html
http://seo-tips-tech.blogspot.com/2013/06/enabled-seo-in-opencart.html
http://seo-tips-tech.blogspot.com/2013/06/how-disallow-sub-domain-using-robotstxt.html
http://seo-tips-tech.blogspot.com/2013/06/plan-out-your-seo-strategies.html
http://seo-tips-tech.blogspot.com/2013/06/seo-tips-for-wordpress.html
http://seo-tips-tech.blogspot.com/2013/06/server-side-includes.html
http://seo-tips-tech.blogspot.com/2013/06/site-indexation-tool.html
http://seo-tips-tech.blogspot.com/2013/06/steps-to-keywords-to-target.html
http://seo-tips-tech.blogspot.com/2013/07/advanced-seo-tips-2013.html
http://seo-tips-tech.blogspot.com/2013/07/brand-marketing-publishing-information.html
http://seo-tips-tech.blogspot.com/2013/07/choose-right-keyword-set.html
http://seo-tips-tech.blogspot.com/2013/07/create-valuable-keyword-focused-content.html
http://seo-tips-tech.blogspot.com/2013/07/creating-outbound-links-seo-tips.html
http://seo-tips-tech.blogspot.com/2013/07/examining-seo-and-social-media.html
http://seo-tips-tech.blogspot.com/2013/07/facebook-marketing-tips.html
http://seo-tips-tech.blogspot.com/2013/07/inbound-links-pointing-with-online.html
http://seo-tips-tech.blogspot.com/2013/07/internet-marketing-for-b2b-and-b2c.html
http://seo-tips-tech.blogspot.com/2013/07/magic-seotips-keyword-based-competitor.html
http://seo-tips-tech.blogspot.com/2013/07/major-online-directories.html
http://seo-tips-tech.blogspot.com/2013/07/mobile-seo-tips-mobile-optimizing.html
http://seo-tips-tech.blogspot.com/2013/07/need-of-seo.html
http://seo-tips-tech.blogspot.com/2013/07/optimize-your-site-for-speed.html
http://seo-tips-tech.blogspot.com/2013/07/query-strings.html
http://seo-tips-tech.blogspot.com/2013/07/ranking-fluctuations-seo.html
http://seo-tips-tech.blogspot.com/2013/07/search-engine-marketing-metrics.html
http://seo-tips-tech.blogspot.com/2013/07/search-engine-marketing-metrics_15.html
http://seo-tips-tech.blogspot.com/2013/07/seo-fanda-nofollow-link-attribute.html
http://seo-tips-tech.blogspot.com/2013/07/seo-keyword-tuning-with-ppc-testing.html
http://seo-tips-tech.blogspot.com/2013/07/seo-marketing-tips.html
http://seo-tips-tech.blogspot.com/2013/07/seo-tips-adding-your-links-everywhere.html
http://seo-tips-tech.blogspot.com/2013/07/small-business-seo-and-sem-strategy.html
http://seo-tips-tech.blogspot.com/2013/07/smo-is-effective-for-seo.html
http://seo-tips-tech.blogspot.com/2013/07/tips-of-internet-marketing.html
http://seo-tips-tech.blogspot.com/2013/07/types-of-search-engines-and-web.html
http://seo-tips-tech.blogspot.com/2013/07/web-site-content-affect-seo.html
http://seo-tips-tech.blogspot.com/2013/08/additional-seo-tips-increase.html
http://seo-tips-tech.blogspot.com/2013/08/advanced-database-techniques.html
http://seo-tips-tech.blogspot.com/2013/08/alternatives-way-to-paypal.html
http://seo-tips-tech.blogspot.com/2013/08/apache-pool-size.html
http://seo-tips-tech.blogspot.com/2013/08/bing-webmaster-seo-tools.html
http://seo-tips-tech.blogspot.com/2013/08/cracker-seo-tips.html
http://seo-tips-tech.blogspot.com/2013/08/dedicated-servers-vs-virtual-servers.html
http://seo-tips-tech.blogspot.com/2013/08/defining-block.html
http://seo-tips-tech.blogspot.com/2013/08/drupal-bootstrap-process.html
http://seo-tips-tech.blogspot.com/2013/08/drupal-optimizations.html
http://seo-tips-tech.blogspot.com/2013/08/drupals-seo-tips.html
http://seo-tips-tech.blogspot.com/2013/08/how-to-creating-web-site.html

Nubia Z7 flagship-ZTE

ZTE has started the teaser campaign about for its new flagship - the Nubia Z7. First it was the CEO of ZTE's smartphone division, Ni Fei, and now a peek at the back of the device. It bears the characteristic Nubia mark of a red circle used both on the Home key and around the camera lens.

Official ZTE Nubia Z7 teaser image The first teaser image shows only the camera and the LED flash on the back. MyDrivers may be ahead of the curve with two additional images that show the Home button from the side, revealing square metallic sides that are very similar to an iPhone or Ascend P6/P7. Leaked ZTE Nubia Z7 teasers The rumored specifications for the ZTE Nubia Z7 are a 5" 1080p screen, Snapdragon 805 chipset with 3GB RAM and a 16MP optically stabilized camera. The phone will feature a new iteration of ZTE's custom UI, Nubia UI 2.0. There's a press release by ZTE that details the Nubia Z7,
 unfortunately our Chinese is quite rusty.

A quick pass through Google translate reveals mentions of a fingerprint scanner and eight cores though the context of that is unclear the Snapdragon 805 has a quad-core processor). If any Chinese speakers can post a translation in the comments it would be very helpful. A press release about the ZTE Nubia Z7 Anyway, the ZTE Nubia Z7 will be unveiled this month and will cost CNY 2,700.

Xolo Q1200

Xolo has outed details and availability of the Q1200. The phone packs a 5.0" 720p IPS
display protected with a Gorilla Glass 3 and comes in a very thing 6.8mm body. The Xolo Q1200 is powered by MediaTek's MT6582 chipset with a quad-core 1.3GHz Cortex-A7 CPU, Mali-400MP2 graphics and 1GB RAM. You also get 8GB expandable storage.

An 8MP rear camera with 1080p recording, there is a 2MP front snapper too, plus a 2,000 mAh battery. The connectivity package includes GSM, 3G with HSPA, Bluetooth 4.0 and Wi-Fi N. The phone is running on Android 4.2.2 Jelly Bean out of the box, but Xolo promises it will deliver KitKat update later this year. Xolo Q1200 supports Dual Windows functionality and gesture control. White and black flavors of Xolo Q1200 are already available on pre-order for INR13,999

Top Accounting Software


Start your small business with QuickBooks accounting and financial software from Intuit. Tackle tax, budgets and personal finance with TurboTax, Quicken and Mint. - Skip to main content PRODUCTS Checks & Supplies Intuit Payroll Services QuickBooks for Accountants See All Intuit Products COMMUNITIES Accountants News Central Intuit Small Business...
http://www.intuit.com
 
 
Online accounting software for small businesses and freelancers, recommended by 99.5% of users. Register now for a free trial and take control of your finances. - Accountants & Partners Log In Log in to your FreeAgent Account Forgot it? FreeAgent Accounting software, simplified Thousands of freelancers and small businesses are discovering a...
http://www.freeagent.com/
 
Need to manage your accounts? Simple, effective, small business accounting software that removes the hassle of doing books in record time. Read more... - KashFlow Close “ The ideal accounting software for small business owners. ” Create your first invoice in minutes Click here for Pricing and your free trial Unlimited 14 day free trial (with no...
http://www.kashflow.com
 
Financial Accounting Software iCash 6.1 30. January 2010 · Write a comment · Categories: Shareware iCash is a software intended to control your personal finance, keeping track of incomes, expenses, credits, debts and Banks transactions for you. (Mac & Windows). As simple as creating the accounts you need and move money between them! You don’t...
http://financial-accounting-software.info
 
Top 20 Accounting Systems and Accounting Software from 2020software.com. Your internet source for accounting software such as Dynamics, eEnterprise, Epicor, BusinessWorks, MAS 90 and Best Enterprise Suite Accounting Software - Compare By Application Business Intelligence Construction Software Small Business Software Construction Software...
http://www.2020software.com

Best Accounting Software, we review, rank and rate the 2010 Best accounting software for your Mac, Windows 7, Windows Vista or Windows XP 32 bit & 64 bit laptop & computer with our expert rankings, reviews, and free trials for purchase and download - Accounting Software for Microsoft Windows and Mac OSX Accounting software is a class of computer...
http://best-accountingsoftware.com
 
Accounting Software World Offers Independent Reviews of Today's Top Accounting and Financial Management Solutions along with many additional resources. - Accounting Software Independent Reviews and Resources Accounting Software Solutions Accounting Software World is sponsored by K2 Enterprises and is intended to augment our continuing...
http://www.accountingsoftwareworld.com
 
The Sage Group plc is a leading supplier of business management software and services to 5 million customers worldwide. From small start-ups to larger organisations, we make it easier for companies to manage their business processes. - By using the Sage Group website, you consent to the use of cookies in accordance with the Sage Group cookie...
http://www.sage.com
 
Accounting software for small business. Online accounting system for invoicing, accounts payable, bank reconciliation & bookkeeping. Try Xero accounting software for free! - Xero Beautiful accounting software Beautiful accounting software Try Xero for free This year, discover a new way to run your business Hear Erica's story See how Xero keeps...
http://www.xero.com
 

Adding New User Privileges to MySQL

You can add users two di erent ways: by using GRANT statements or by manipulating the
MySQL grant tables directly. The preferred method is to use GRANT statements, because
they are more concise and less error-prone.

The examples below show how to use the mysql client to set up new users. These examples
assume that privileges are set up according to the defaults described in the previous section.
This means that to make changes, you must be on the same machine where mysqld is
running, you must connect as the MySQL root user, and the root user must have the
insert privilege for the mysql database and the reload administrative privilege. Also, if you
have changed the root user password, you must specify it for the mysql commands below.
You can add new users by issuing GRANT statements:

shell> mysql --user=root mysql
mysql> GRANT ALL PRIVILEGES ON *.* TO monty@localhost
IDENTIFIED BY 'some_pass' WITH GRANT OPTION;
mysql> GRANT ALL PRIVILEGES ON *.* TO monty@"%"
IDENTIFIED BY 'some_pass' WITH GRANT OPTION;
mysql> GRANT RELOAD,PROCESS ON *.* TO admin@localhost;
mysql> GRANT USAGE ON *.* TO dummy@localhost;
These GRANT statements set up three new users:

monty A full superuser who can connect to the server from anywhere, but who must use
a password 'some_pass' to do so. Note that we must issue GRANT statements
for both monty@localhost and monty@"%". If we don't add the entry with
localhost, the anonymous user entry for localhost that is created by mysql_
install_db will take precedence when we connect from the local host, because
it has a more speci c Host eld value and thus comes earlier in the user table
sort order.
admin A user who can connect from localhost without a password and who is granted
the reload and process administrative privileges. This allows the user to execute the mysqladmin reload, mysqladmin refresh, and mysqladmin flush-*
commands, as well as mysqladmin processlist .
No database-related privileges are granted. They can be granted later by issuing additional GRANT
statements.

dummy A user who can connect without a password, but only from the local host. The
global privileges are all set to 'N' | the USAGE privilege type allows you to
create a user with no privileges. It is assumed that you will grant databasespeci c privileges later.
You can also add the same user access information directly by issuing INSERT statements
and then telling the server to reload the grant tables

e-mail parameters-Codeigniter

The next thing that we will need to do is to set our e-mail parameters, the sender,
the recipient, any e-mail address to send a carbon copy or blind carbon copy to, the
subject of our e-mail, and the message body. Take a look at the following code and
see if you can distinguish the different parts of our e-mail:

$this->email->from('you@example.com', 'Your Name');
$this->email->to('someone@example.com');
$this->email->cc('another@person.com');
$this->email->bcc('theboss@example.com');
$this->email->subject('Email Test');
$this->email->message('This is a simple test we wrote for the email
class.');


Hopefully you can read the previous code example pretty easily. This is one of the
benefits of CodeIgniter and its libraries. It's very easy to read CodeIgniter code. In
the first line of code we set our e-mail address, which is the address that we will send
the e-mail from, and also pass along a name to identify ourselves. In the next line,
we set the recipient, who is the person that we are sending the e-mail to. The next
line down is an e-mail address to send a carbon copy of the e-mail to. A carbon copy
is simply a copy of the e-mail, just sent to another person. The final line of the first
block is the e-mail address to which we will send a blind carbon copy to. A blind
carbon copy is the same as a carbon copy, except for the other recipients of the
e-mail do not know that this person also has received a copy of this e-mail.


Now, to send our e-mail we simply call the sendfunction of the e-mail library. Here's
how we do it.
$this->email->send();

There is another function available to us from this library. It's a debugger that echo's
out some information provided to us by the various mail sending protocols, and
we are also notified what has been sent and whether or not the e-mail was sent
successfully. To show the debugging information, we use the following line of code:
echo $this->email->print_debugger();

code looks like this:

$this->load->library('email');
$this->email->from('you@example.com', 'Your Name');
$this->email->to('someone@example.com');
$this->email->cc('another@person.com');
$this->email->bcc('theboss@example.com');
$this->email->subject('Email Test');
$this->email->message('This is a simple test we wrote for the email
class.');
$this->email->send();
echo $this->email->print_debugger();


You are not just limited to sending e-mail from inside Controllers; e-mails can also be
sent from Models.

Retrieving data-Codeigniter


Retrieving POST data

Toretrieve post data, you should use the function shown next. The first parameter is
the name of the POST item that you are looking for.
$this->input->post('some_field');

This function returns the item it if exists, and returns FALSE if it does not. The
second function lets you run the data through the XSS filter without writing any
more code. This is an easier way of running the XSS filter on a per-item basis.
$this->input->post('some_field', TRUE);

Retrieving GET data

The function for retrieving GET data is identical to the POST function, except that it
only retrieves GET data.
$this->input->get('some_field', TRUE);

Retrieving GET and POST data

This function will search through the GET and POST streams for data; looking inside
POST first, then GET. It works in the same way as the previous functions.
$this->input->get_post('some_field', TRUE);

Retrieving COOKIE data

This function is the same as those listed previously, but will only look in the
COOKIE data.
$this->input->cookie('some_field', TRUE);

Retrieving SERVER data

This function is the same as the previous examples, except it only returns
SERVER data.
$this->input->server('some_field', TRUE);

IP Addresses

Toretrieve the user's IP address, you should use the next function. If the IP address
isn't valid, it will return 0.0.0.0.
$this->input->ip_address();
To validate an IP address, you should use the next function. It will return TRUE or
FALSE. The previous function validates the IP automatically.
if ( ! $this->input->valid_ip($ip))
{
echo "Not a valid IP";
}
else
{
echo "Valid IP!";
}

Hot Seo Tips - Home page - Page Tips

1) Use short paragraphs.

When the paragraph are very long, the words get jumbled in the mind of the
reader just looking at it. It can get quite confusing and too much of a hard work to
read. The reader will just quickly disregard the paragraph and move on to much
easier reading articles that are good to look at as well as read. Paragraphs can
be a single sentence, sometimes even a single word!

2) Make use of numbers or bullets.

As each point is stressed out, numbers and bullets can quickly make the point
easy to remember and digest. As each point, tip, guide or method is started with
a bullet or point, readers will know that this is where the tips start and getting
stressed. Format you bullets and numbers with indentations so that your article
won’t look like a single block of square paragraphs. Add a little bit of flair and
pizzazz to your articles shape.

3) Use Sub-headings to sub-divide your paragraphs in the page.

Doing this will breakeach point into sections but still would be incorporated into
one whole article. It would also be easy for the reader to move on from one point
to another; the transition would be smooth and easy. You will never lose your
readers attention as well as the point and direction to where the article is
pointing.

4) Provide a good attention-grabbing title or header.

If your title can entice a person’s curiosity you’re already halfway in getting a
person to read your article. Use statements and questions that utilize keywords
that people are looking for. Provide titles or headers that describe your articles
content but should also be short and concise.

5) Keep them interested from the start to the finish.

From your opening paragraph, use real life situations that can be adopted by the
reader. Use good descriptions and metaphors to drive in your point, just don’t
over do it. Driving your examples with graphic metaphors and similes would
make it easy for them to imagine what you are talking about. Making the
experience pleasurable and enjoyable for them.

6) Utilize figures when necessary and not just ordinary and insipid statements.

Using specific facts and figures can heighten your article because it makes it
authoritative. But do not make it too formal, it should be light and easy in them
and flow. Like a friendly teacher having a little chat with an eager student.

The Internet is the information

The Internet is the information highway, this phrase has been used so may time it should
be nominated for the Internet Cliché Award. People that go to the Internet are subdivided
into groups, but generally, they are out to search information. Whether for gaming,
business, fun or anything else the Internet has provided us with information that has
proved to be very beneficial.



Search Engine

Through the recent years many people have learned the secrets of Search Engine
Optimization. More and more sites have seen the effects articles have done for the traffic
of their sites. Some have even created sites devoted entirely to providing articles that
could be read by their website visitors and have links that could lead to many sites that
are related to the topics and subjects of the articles.

SERP– This is just an acronym for Search Engine Results Page. This means the

pages that show up when you do a search on a web search engine such as Google or
Bing.

Backlink—As noted above in the history of SEO, a back-link/ backlink is
considered to be the modern backbone of SEO. In essence, a backlink means that you
have a link from another website to your site. It’s called a backlink because of the fact
that it’s a link “back” to your website.

White Hat SEO, Gray Hat SEO, Black Hat SEO– You may or

may not have heard these terms before. They refer to three different methods of
undertaking SEO. Here’s what you need to know about them:
White Hat SEO– These are SEO techniques which Google has approved of.
For example, Google has no problem with a technique called link baiting. This means
that you create content of some kind (an article, a video, a picture, etc.) which is exciting
and interesting. So much so that people will want to post a link back to it from their own
website. This is known as link baiting and technically, it’s really the only kind of “off site”
SEO which Google approves of  site SEO.

Gray Hat SEO– This is what most SEO professionals engage in. It’s the sort of
SEO which skirts Google’s rules since you are in essence creating links for yourself
which weren’t . In essence, this means using various techniques to create links for
yourself artificially as opposed to organically, where people just decide to link to you
because what you write or post is so compelling, but doing it in a responsible way.
So for example, writing a guest post on another blog might be an example of gray hat
SEO. Technically, you are creating a link for yourself artificially.

Black Hat SEO – The first thing you need to know about black hat SEO is that

it’s not illegal in any way shape or form. You will not go to jail for engaging in any black
hat SEO technique and in most cases, you can’t be sued for it either (there are
exceptions which we’ll get to shortly. That said, black hat SEO is the sort of thing you
want to stay away from because it could cause you lots of problems. Here’s why:
Google publishes guidelines for the kind of SEO that they’ll approve of. There is also an
unwritten rule that most SEO professionals follow which states that “we’ll follow certain
basic rules of decency when we engage in SEO”. Black hat SEO violates these rules by
engaging in techniques which are generally considered sneaky and underhanded.

Keywords in URLs and File Names


Because the words found in your URL are a contributing factor used by search engine
spiders and their algorithms to help determine what the content of your page really is,
having your keyword in your URLs and file names is very important.
Another great way to rank near the top for your keywords is to have a downloadable
document or a file on your page with your keyword in its file name. This gets special hits
whenever someone in search of downloads uses your keywords. Your file will
automatically appear in the SERPs.

Keywords in Page Titles

If you look at the top of your browser window, above the address bar and the menus,
you will see your page title. Your page title is your best asset for obtaining search
engine rankings. Search engines rank pages with relevant titles higher than web pages
without relevant titles.

Important Factors Linked With Page Titles

Your page title is used as the heading for your site listing in search engines.
• These are the default label for browser bookmarks.
• These are stored in browser history lists and are crucial for understanding what the
page was about.
• RSS generators and content management systems use page titles to create
headlines, which makes having a relevant page title all the more essential.

Growing traffic

• Keep adding articles/ content on your site
• Write articles on other blogs
• Comment on related sites and blogs
• Post videos on sites like YouTube and link them to your site
• Share your content on social networking sites so that more people from your
community know about it
• Generate discussions and activity on your site
Remember, content is not just the text you add but also what your visitors add to your
site as well. You may have noticed that on several blogs/ sites, visitors' comments also
appear in search results.

search engine submission

Submit your URL to a wide variety of search engines.
Link Popularity Search engine success is heavily reliant on the volume of backward links pointing to a web page, the higher the link popularity the greater the chance a website has of pushing to the top of the search engine results.