When to Use a Separate Root Domain


If you have a single, primary site that has earned links,
 built content, and attracted brandattention and
awareness, it is very rarely advisable to place
any new content on a completely separate domain.
 There are rare occasions when this can make sense,
 and we’ll walk through these, as well as explain how
 singular sites benefit from collecting all of their
content in one root domain location.Splitting similar
or relevant content from your organization onto
 multiple domains can be likened to a store taking
American Express Gold cards and rejecting American Express
Corporate or American Express Blue—it is overly segmented
 and dangerous for the consumer mindset.



If you can serve web content from a singular domain,
 that domain will earn branding among the minds of
your visitors, references from them, links from other
 sites, and bookmarks from your regular customers.
 Switching to a new domain forces you to rebrand
 and to earn all of these positive metrics all over again.

Microsites
There is a lot of debate about microsites, and although
 we generally recommend that you do not saddle yourself
 with the hassle of dealing with multiple sites and their
 SEO risks and disadvantages, it is important to
understand the arguments, if only a few, in favor of doing so

Online Marketing PPC terms

Online Marketing Top PPC terms

PPC Online Marketing terms

CPC:Cost per click. The actual dollar value you
pay. Some people reserve CPC for banners that
charge by the click and PPC for sponsored ads
on search engines.

CPM:Cost per thousand impressions. Allows
you to compare costs from one ad venue, or
type, to another. If an ad costs $500 for 10,000
impressions, your CPM is $500 divided by 10, or
$50. Because most PPC sites also provide the
number of impressions, you can compute CPM
for your PPC campaign.

CTR:Click-through rate. The number of clicks
divided by the number of impressions. Expect
costs for a click-through to be higher than costs
for an impression.

Conversion rate:The number of actions taken
or purchases made divided by the number of
clicks received.

Landing page:The destination page on your site
that viewers see when they click your ad.



Paid inclusion:Payment to be listed in a search
engine or directory, often for faster review or
guaranteed listing. Generally, the search engine
or directory charges a flat annual fee or monthly
charge per URL, although Yahoo! Express uses
a combination of flat fee plus PPC.

PPC:Pay per click payment method.

PPA:Pay per action. Payment is made only
when a prospect takes a prespecified action
(such as makes a phone call, signs up for
newsletter, completes a purchase). Acts almost
like a commission. Expect to pay more per
transaction unit for PPA than for PPC. That’s
reasonable, because your prospect has prequalified
by taking an additional action towardpurchase.

ROI:Return on investment. For PPC, refers to the
profit made divided by the cost of the PPC campaign.
 It might be more useful to compute ROI
over a whole program than for an individual
product. Sometimes, you deliberately lose
money or break even on one product called a
loss leader to draw customers into a store, only
to make more on sales

Top PHP Online Resources

Top PHP Online Resources

5 Top excellent PHP online resource

 http://www.php.net/
This is perhaps the most useful of the sites listed
 in this appendix, simply because this is the site
that contains up-to-date versions of not only the
 official documentation, but also the latest releases
 of PHP, including the PHP source and PHP binaries.
 If that is not enough, this site also contains an up-to-date
 listing of the major sites that use PHP, and a listing of al
l the books written on PHP. Not only does this site contain
 a plethora of resources, it also contains links to the other
 PHP sites, the latest news about all things PHP



http://www.zend.com
The Zend engine is the engine that powers PHP.
The Zend Web site is the site of the company that
 puts out the Zend engine, as well as many other
tools. For example, at this site you can also
download the Zend Optimizer, which gives your
PHP scripts a 40-100% increase in speed on average.

http://www.phpbuilder.com
The documentation on PHP is an awesome reference,
but some of the more abstract concepts of PHP can't
 be covered by a simple function reference; they need
to be explained by experts who have been there and
done that. PHPBuilder offers an impressive set of tutorials

http://www.phpwizard.net
This site contains an excellent repository of daily tips
 and tricks. In addition to the daily tips, this Web site
contains high-quality programs such as an online quiz
system and an online chat program.
ranging in level from beginner to advanced. 


http://www.devshed.com
DevShed is an excellent resource for all things open
source including Perl, Python, Jserv, Zope, and, of
course, PHP. It contains a nice repository of introductory
 PHP tutorials and an active message board. It also
has the latest PHP news posted on its site. Although
DevShed's PHP section is not as comprehensive as
 Zend's or PHPBuilder's, beginning and intermediate
 PHP programmers are sure to find something they like.













PHPINFO-Displaying information about the PHP environment

PHPINFO-Displaying information

PHPINFO-about the PHP environment


Functions that are built into PHP can be called from
any PHP script. When you call functions, you are
executing the code inside them, except the code
 is reusable and more maintainable.
Phpinfo- It returns configuration and technical information
 about your PHP installation. The function helps you
 diagnose common problems and issues.
You may find that this is one of the most helpful
places to look when checking to see whether
 you meet the requirements of a PHP script.



To call a function, write the name of the function
 followed by an opening parenthesis , the parameters, and then
a closing parenthesis , followed by a semicolon ;
. It would look like this: function_name(parameters);.
 Function names aren't case sensitive, so calling phpinfo
 is the same as calling PhpInfo.


How to Sending Data to a Database php

How to Sending Data to a Database php

Save Data to a Database by php


The process of adding information to a table is similar
 to creating the table itself in terms of which functions
 you use, but the SQL query will be different.

$Query = "INSERT into $TableName values
 ('value1', 'value2', 'value3', etc.)";
mysql_db_query ("DatabaseName", $Query,
 $Link);


The query begins with INSERT into $TableName values. Then, within the parentheses, the value for each column should be put within single quotation marks with each value separated by a comma. There must be exactly as many values listed as there are columns in the table or else the query will not work! Then the query is submitted to the MySQL using mysql_db_query().



To demonstrate this, you'll use an HTML form that takes the user's first name, last name, E-mail address, and comments. The PHP script that handles this form will put the submitted information into the database.

To enter data into a database from an HTML form:

Create a new HTML document in your text editor that will create the HTML form.

Code the standard HTML header

<HTML><HEAD><TITLE>HTMLForm
 </TITLE><BODY>

Create a form.

<FORM ACTION="HandleForm.php"
 METHOD=POST>

Code for four text inputs.

First Name <INPUT TYPE=TEXT
 NAME="Array[FirstName]"
 SIZE=20><BR>
 Last Name <INPUT TYPE=TEXT
 NAME="Array[LastName]" SIZE=40><BR>
 E-mail Address <INPUT TYPE=TEXT
 NAME="Array[Email]" SIZE=60><BR>
 Comments <TEXTAREA
 NAME="Array[Comments]" ROWS=5
 COLS=40></TEXTAREA><BR>

You can make your form more attractive than this one but be sure to make note of your input variable names, which you'll need in the HandleForm.php page.

Add the submit button, close the form, and close the HTML page.

<INPUT TYPE=SUBMIT NAME="SUBMIT"
 VALUE="Submit!"
</FORM>
</BODY>
</HTML>

Save the page as form.html and upload it to the server.

Now you will write the HandleForm.php page, which takes the data generated by the form and puts it into the database.

Create a new PHP document in your text editor.







PHP method of securely Tips

PHP method of securely website

PHP Web security tips

Passwords used within your PHP application
 should always be encrypted. If the server you
are using does not support mcrypt(), use crypt() to
encrypt the password entered during the login,
then check this against the stored encrypted password.

Cryptography is just a part of a secure solution as it can
 only be used once data has been received by the server.


 You may also need to take advantage of SSL connections
 in your Web sites. SSL, which stands for Secure Sockets Layer,
 is a method of securely transmitting information between a
 client the Web browser and the server. Utilization of SSL
connections indicated by the https://prefix in a URL is a
must for e-commerce applications. You can also specify
that cookies are sent over a SSL connection by setting the
 proper parameters when using the setcookie() function.
Check with your ISP or server administrator to see if SSL
 connections are supported on the machine you are using.

Security Resources.




There are literally dozens upon dozens of Web sites you can
 visit to keep yourself informed of pertinent security issues. The most prominent four, in my opinion, are:

Computer Response Emergency Team (http://www.cert.org)

Security Focus (http://www.security-focus.com)

Packet Storm (http://packetstorm.securify.com)

World Wide Web Consortium (http://http://www.w3.org/Security/Faq/www-security-faq.html)

There are also any number of books available ranging from those that generically discuss security to those that will assist in establish secure Windows NT or Linux Web servers.

With respect to PHP, do not forget to read the PHP manual's
section on security. Also review the security section of the
documentation for the database you are using on the server.
 Some, such as MySQL's manual, includes tips specifically
 with respect to using PHP and MySQL.









Govt. of India ITI LIMITED Job Post


Govt Job At ITI LIMITED

ITI LIMITED Job Post

ITI Limited is looking for  Professionals to be hired
 on Tenure basis for a period of Five Years :

    Mathematician
    Computer Science Engineers
    Electronics and Communications Engineers

How to Apply : Application in the prescribed format
 should be send on or before 30/04/2015 to
Chief Manager - HR (B), Network Systems Unit,
ITI Limited, ITI Bhavan, Doorvaninagar, Bangalore - 560016





View Details: http://www.itiltd-india.com/upload/careers.html

Govt job at HINDUSTAN COPPER LIMITED

Govt job at HINDUSTAN COPPER LIMITED

job at HINDUSTAN COPPER LIMITED

Hindustan Copper Limited HCL invites online applications from
 qualified and experienced Indian Nationals  for the following  posts:

    Mining : 05 posts
    Geology : 02 posts
    Metallurgy : 01 post
    Civil : 03 posts
    Research & Development : 03 posts
    Mechanical : 10 posts
    Electrical : 10 posts
    Systems : 04 posts
    Finance : 11 posts
    Human Resources : 09 posts
    Law : 01 post
    Medical & Health Services : 07 posts
    Materials and Contract : 03 posts
    Marketing : 04 posts
    Company Secretary : 01 post
    Corporate Social Responsibility : 02 posts

Application Fee :  Rs.750/- Rs.375/- for fee from SC/ST/PWD/ Female candidates
 in the form of DD in favour of Hindustan Copper Limited payable at Kolkata.   

How to Apply : Apply Online at Hindustan Copper website from 20/04/2015 to 19/05/2015 only.






View Details: http://www.hindustancopper.com/career.asp

Government Jobs Recruitment At Hindustan Aeronautics Limited

 

Government Jobs Hindustan Aeronautics Limited

Government Jobs Recruitment At Hindustan Aeronautics Limited

HAL  invites applications from following posts :

    Assistant Officer (Fire) : 02 posts
    Medical Officer (General Duty) Gr. II : 01 post
    Deputy Manager (Safety) : 02 posts
    Senior Medical Officer (Surgeon) : 01 post
    Senior Medical Officer (Medicine) : 02 posts

How to Apply : Application in the prescribed format
 should be send on or before 15/05/2015 to Dy.
Director General (Human Resources), Post Box no. 23,
 Ojhar Township Post Office, Niphad (Tal),  Nashik - 422207.



View Details:http://www.hal-india.com/CAREERS/M__206 

PHP File Upload Script


PHP File Uploading Code

Take a moment to commit the following list to memory—
it contains the variables that are automatically placed in the
 $_FILES superglobal after a successful file upload.
 The base of img1 comes from the name of the input
 field in the original form.

$_FILES[$img1] [tmp_name]. The value refers to the temporary file on the Web server.

$_FILES[img1] [name]. The value is the actual name of the file that was uploaded. For example, if the name of the file was me.jpg, the value of $_FILES[img1] [name] is me.jpg.

$_FILES [img1] [size]. The size of the uploaded file in bytes

$_FILES [img1] [type]. The mime type of the uploaded file, such as image/jpg

uploaded file by PHP code




The goal of this script is to take the uploaded file and copy it to the document root of the Web server and return a confirmation to the user containing values for all the variables in the preceding list.

Open a new file in your text editor and start a PHP block:

<?

Create an if…else statement that checks for a value in $_FILES[img1].

if ($_FILES[img1] != "") {

If $_FILES [img1] is not empty, execute the copy function. Use @ before the function name to suppress warnings, and use the die() function to cause the script to end and a message to display if the copy() function fails.

@copy($_FILES[img1][tmp_name], "/usr/local/bin/apache_1.3.26/
htdocs/".$_FILES[img1][name]) or die("Couldn't copy the file.");




 Note  If the document root of your Web server is not /usr/local/bin/apache_1.3.26/htdocs/ as shown in step 3, change the path to match your own system. For example, a Windows user might use /Apache/htdocs/.


Continue the else statement to handle the lack of a file for upload:

} else {
   die("No input file specified");

Close the if…else statement, then close your PHP block:

}
?>

Add this HTML:

<HTML>
<HEAD>
<TITLE>Successful File Upload</TITLE>
</HEAD>
<BODY>
<H1>Success!</H1>


Mingle HTML and PHP, printing a line that displays values for the various elements of the uploaded file (name, size, type):

<P>You sent: <? echo $_FILES[img1][name]; ?>, a <? echo
$_FILES[img1][size]; ?> byte file with a mime type of <? echo
$_FILES[img1][type]; ?>.</P>

Add some more HTML so that the document is valid:

</BODY>
</HTML>

Save the file with the name do_upload.php.

Creating a Php Script to Mail Your Form

Php Mail Script

According to the form action in simple_form.html, you
 need a script called send_simpleform.php. The goal
 of this script is to accept the text in
 $_POST[sender_name], $_POST[sender_email],
and $_POST[message] format, send an e-mail, and
 display a confirmation to the Web browser.
Open a new file in your text editor.
Begin a PHP block, then start building a message string:

PHP script to process the form, send the mail






<?
$msg = "E-MAIL SENT FROM WWW SITE\n";

Continue building the message string by adding an entry for the sender's name:

$msg .= "Sender's Name:\t$_POST[sender_name]\n";


 Note  The next few steps will continue building the message string by concatenating smaller strings to form one long message string. Concatenating is a fancy word for "smashing together." The concatenation operator (. =) is used.


Continue building the message string by adding an entry for the sender's e-mail address:

$msg .= "Sender's E-Mail:\t$_POST[sender_email]\n";

Continue building the message string by adding an entry for the message:

$msg .= "Message:\t$_POST[message]\n\n";

The final line contains two new line characters to add additional white space at the end of the string.

Create a variable to hold the recipient's e-mail address (substitute your own):

$to = "you@youremail.com";

Create a variable to hold the subject of the e-mail:

$subject = "Web Site Feedback";

Create a variable to hold additional mailheaders:

$mailheaders = "From: My Web Site <> \n";

Add to the $mailheaders variable:

$mailheaders .= "Reply-To: $_POST[sender_email]\n\n";

Add the mail() function:

mail($to, $subject, $msg, $mailheaders);

Close your PHP block:

?>

Measuring Social-Media Optimization

Start Social-Media Optimization to your website


If you’re participating in social media, you’re going
 to want to know how it’s working. But before
you even begin to measure your success, you need
 to know what you’re measuring it against. Define
concrete goals for your efforts. Those might be to
 increase your web-site traffic by a certain amount
each month, to increase conversion values, or some
 other goal. Whatever those goals are, use them
as a guide as you’re planning your social-media
optimization efforts.



You should first have a blog, and then track who
 is reading it. There are many good web analytics
packages that will track what the most popular
 content on your site is. You can probably also see
where those site visitors are coming from and
 how long they’re spending on your page.
This information will help you determine what
 blog entries are most successful and who is
sending the most traffic to your blog, so that you
can capitalize on that.

To find out who is linking to your site
use the following search string, replacing
yourwebsitewith the actual URL of the pages you want to
track: link:http://www.yourwebsitename.com.

Socialmedia networks require constant participation.
 And as with SEO, that means ongoing efforts —
 daily. Integrate your social-media optimization
 strategies into your daily SEO
workflow.

Bhargava and the other social-media experts who
 put this list together are people in the front line
of SEO and SMO social-media optimization every day.
 These guidelines will help you begin youroptimization process.
And if you follow them, you’ll be well on your way to gaining all the value
available from social networks and social media.

Best SEO Practices for a website

Best 35 SEO Practices tips for a website


Review traffic to your site using web server logs and
 third-party.
software      
Understand the content and queries that draw your traffic.

Establish base-line metrics for site traffic, and criteria for success.
Regularly monitor site traffic.
Create content specifically for SEO purposes.
Work to improve PageRank.
Submit to search engines, manually or with a submission tool.
List your site in taxonomies.
List your site in wiki articles.
Request inbound links.
Post comments and pings containing links.
Use syndication for SEO purposes.
Create a bot-friendly site.
Review your site in a text-only web browser.
Add meta information to your site.
Use text rather than graphics when possible.
Add descriptive alt attributes to your images.
Create an easily navigable site.



Keep pages between 100 and 250 words.
Keep keywords dense without stuffing.
Add keywords to <title> and <h1> tags.
Add moderate outbound linking.
Make sure to include cross links.
Deploy web analytics platform Google Analytics or WebTrends.
Avoid dubious SEO practices.
Create a clear and brief campaign plan.
Use AdWords in Conjunction with Core SEO

Use AdWords as an SEO Tool

AdWords as an SEO Tool


As core SEO becomes simply one of the tools used to
 advertise destinations on the Web, it makes sense to
supplement pure SEO with targeted CPCCost per
Clickprograms, such as that provided by Google AdWords.
AdWords should be used as an auxiliary to SEO programs,
 not as the primary focus of an SEO campaign. Attention
 should be paid to distinguishing within AdWords between
 content and search ads.





Search ads, which appear on Google search
 results pages, are generally worth paying more
for per click than content ads, which appear on
web pages enrolled in the Google AdSense program.



As an auxiliary SEO tool, the best approach with AdWords
 is oblique: don't target your primary SEO keywords
 you can rely on SEO for this as much as conceptually
 related topics that might draw visitors who might
otherwise overlook your site.


A benefit of using AdWords as part of your SEO
campaign is that it is very easy to track results because
 you know when your targets get clicked.

seo Keyword Placement tips

Keyword Placement seo tips

 

Keyword Placement

The text on your web page should include the most
 important keywords you have developed in as unforced
 a way as possible. Try to string keywords together to 
make coherent sentences.Not all text on a page is 
equal in importance. First of all, order does count:
 keywords higher up in a given page get more recognition 
from search engines than the same keywords further down a page.
Roughly speaking, besides the body of the page itself 
and in meta information, you should try to place your
 keywords in the following elementspresented roughly in
 order of descending importance:



Title: putting relevant keywords in the HTML title tag for your
 page is probably the most important single thing you can do in terms of SEO

Headers: keyword placement within HTML header styles
, particularly <h1> headers towards the top of a page, is extremely important

Links: use your keywords as much as possible in the
 text that is enclosed by <a href="">...</a> hyperlink tags on your site in outbound and cross bound link. Ask webmasters who provide inbound linking to your site
 to use your keywords whenever possible

Images: include your keywords in the alt attribute of your
 HTML image <img> tags

Text in bold: if there is any reasonable excuse for doing so,
include your keywords within HTML bold <b>... </b> tags

Web Application Concepts

Web Application Concepts-website


Session management, security considerations and
 authentication, and usability form the base of every
 Web application. Web applications aren't possible
 without proper session management. You have to
 find a way to recognize users during multiple page
 requests if you want to associate variables like a
shopping cart with one specific user. And this
 identification had better be secure if you don't want
 to have one user seeing another's credit card information.



 Indeed, special considerations are necessary for improving
 security in your applications. Even if PHP is less prone to
 crackers' attacks than other CGI environments, it's easy
 to write totally exposed applications.

You lose control over the data—as long as the user doesn't return to your site, you can't access the data. And worse, that data may be manipulated when you get it back. Ninety percent of all Web site defacing and breakings come from applications accepting tampered data from the client side and trusting that data. Do not keep data on the client. Do not trust data from the client.

If you use GET/POST, the storage isn't persistent across sessions.

If you rely exclusively on cookies, you have a problem because some users won't accept cookies—they simply disable cookies in their browsers.

The data is hard to maintain because you need to save all data on every page. Each variable needs to be URL-encoded, added to a form as a hidden field or added to the URL, or saved as a cookie. This is difficult for a single variable such as the session ID, let alone dozens of variables!

Thus, the data needs to be stored on the server. Where exactly you store it isn't all that important; it can be in a relational database management system (RDBMS), plaintext file, dBASE file, etc. Because a Web application generally already uses a relational database such as MySQL, this should be the preferred storage medium.

To associate the data with a user, you need a session identity number— a key that ties the user to his data.

php Sessions code


Php Sessions


Sessions are used to help maintain the values of variables
across multiple web pages. This is done by creating a unique
 session ID that is sent to the client browser. The browser
 then sends the unique ID back on each page request and
 PHP uses the ID to fetch the values of all the variables
associated with this session.


The session ID is sent back and forth in a cookie or in the URL.
By default, PHP tries to use cookies, but if the browser has
disabled cookies.








PHP falls back to putting the ID in the URL. The php.ini directives that affect this are:

session.use_cookies
When on, PHP will try to use cookies

session.use_trans_sid
When on, PHP will add the ID to URLs if cookies are not used

The trans_sid code in PHP is rather interesting. It actually parses the entire HTML file and modifies/mangles every link and form to add the session ID. The url_rewriter.tags php.ini directive can change how the various elements are mangled.

Writing an application that uses sessions is not hard. You start a session using session_start( ), then register the variables you wish to associate with that session. For example:

<?php
  session_start( );
  session_register('foo');
  session_register('bar');

  $foo = "Hello";
  $bar = "World";
?>

If you put the previous example in a file named page1.php and load it in your browser, it sends you a cookie and stores the values of $foo and $bar on the server. If you then load this page2.php page:

<?php
  session_start( );
  echo "foo = $_SESSION[foo]<br />";
  echo "bar = $_SESSION[bar]<br />";
?>
You should see the values of $foo and $bar set in page1.php. Note the use of the $_SESSION superglobal. If you have register_globals on, you would be able to access these as $foo and $bar directly.

You can add complex variables such as arrays and objects to sessions as well. The one caveat with putting an object in a session is that you must load the class definition for that object before you call session_start( ).

A common error people make when using sessions is that they tend to use it as a replacement for authentication -- or sometimes as an add-on to authentication. Authenticating a user once as he first enters your site and then using a session ID to identify that user throughout the rest of the site without further authentication can lead to a lot of problems if another person is somehow able to get the session ID. There are a number of ways to get the session ID:

If you are not using SSL, session IDs may be sniffed

If you don't have proper entropy in your session IDs, they may be guessed

If you are using URL-based session IDs, they may end up in proxy logs

If you are using URL-based session IDs, they may end up bookmarked on publicly-accessible computers

All Operators Of PHP

 

All PHP Operators

 An expression is the basic building block of the language.
Anything with a value can be thought of as an expression. Examples include:

5
5+5
$a
$a==5
sqrt(9)
By combining many of these basic expressions, you can build larger, more complex expressions.

Note that the echo statement we've used in numerous examples cannot be part of a complex expression because it does not have a return value. The print statement, on the other hand, can be used as part of complex expression -- it does have a return value. In all other respects, echo and print are identical: they output data.




Expressions are combined and manipulated using operators. The following table lists the operators from highest to lowest precedence; the second column (A) shows the operators' associativity. These operators should be familiar to you if you have any C, Java, or Perl experience.

Operators
A
!, ~, ++, --, @, (the casting operators)
Right
*, /, %
Left
+, -, .
Left
<<, >>
Left
<, <=, >=, >
Nonassociative
==, !=, ===, !==
Nonassociative
&
Left
^
Left
|
Left
&&
Left
||
Left
? : (conditional operator)
Left
=, +=, -=, *=, /=, %=, ^=, .=, &=, |=, <<=, >>=
Left
AND
Left
XOR
Left
OR
Left

Variables in PHP


Variables in PHP

Variables are used for storing a values, like text strings, numbers or arrays.
When a variable is set it can be used over and over again in your script
All variables in PHP start with a $ sign symbol.
The correct way of setting a variable in PHP:



<?php
$txp = "test";
$no = 18;
?>

PHP here are  three different variable scopes:

    local
    global
    static

Variable Naming Rules

  • A variable name must start with a letter or an underscore "_"
  • A variable name can only contain alpha-numeric characters and underscores (a-Z, 0-9, and _ )
  • A variable name should not contain spaces. If a variable name is more than one word, it should be separated with underscore ($my_string), or with capitalization ($myString)






PHP Array Introduction


Function Description PHP


 Testing Array and sizeof( )
<?php
$fixture = Array( );
// $fixture is expected to be empty.

$fixture[] = "element";
// $fixture is expected to contain one element.
?>


A really simple way to check whether we are getting the results we expect is to print the result of sizeof( ) before and after adding the element

array() Creates an array 
array_change_key_case() Returns an array with all keys in lowercase or uppercase
array_chunk() Splits an array into chunks of arrays 
array_combine() Creates an array by using one array for keys and another for its values 
array_count_values() Returns an array with the number of occurrences for each value
array_diff() Compares array values, and returns the differences
array_diff_assoc() Compares array keys and values, and returns the differences 
array_diff_key() Compares array keys, and returns the differences 
array_diff_uassoc() Compares array keys and values, with an additional user-made function check, and returns the differences 
array_diff_ukey() Compares array keys, with an additional user-made function check, and returns the differences 
array_fill() Fills an array with values 
array_filter() Filters elements of an array using a user-made function 
array_flip() Exchanges all keys with their associated values in an array 
array_intersect() Compares array values, and returns the matches 
array_intersect_assoc() Compares array keys and values, and returns the matches 
array_intersect_key() Compares array keys, and returns the matches 
array_intersect_uassoc() Compares array keys and values, with an additional user-made function check, and returns the matches 
array_intersect_ukey() Compares array keys, with an additional user-made function check, and returns the matches 
array_key_exists() Checks if the specified key exists in the array 
array_keys() Returns all the keys of an array 
array_map() Sends each value of an array to a user-made function, which returns new values 4
array_merge() Merges one or more arrays into one array 
array_merge_recursive() Merges one or more arrays into one array 
array_multisort() Sorts multiple or multi-dimensional arrays 
array_pad() Inserts a specified number of items, with a specified value, to an array 
array_pop() Deletes the last element of an array 
array_product() Calculates the product of the values in an array 
array_push() Inserts one or more elements to the end of an array 
array_rand() Returns one or more random keys from an array 
array_reduce() Returns an array as a string, using a user-defined function 
array_reverse() Returns an array in the reverse order 
array_search() Searches an array for a given value and returns the key 
array_shift() Removes the first element from an array, and returns the value of the removed element 
array_slice() Returns selected parts of an array 
array_splice() Removes and replaces specified elements of an array 
array_sum() Returns the sum of the values in an array 
array_udiff() Compares array values in a user-made function and returns an array 
array_udiff_assoc() Compares array keys, and compares array values in a user-made function, and returns an array 
array_udiff_uassoc() Compares array keys and array values in user-made functions, and returns an array 
array_uintersect() Compares array values in a user-made function and returns an array 
array_uintersect_assoc() Compares array keys, and compares array values in a user-made function, and returns an array 
array_uintersect_uassoc() Compares array keys and array values in user-made functions, and returns an array 
array_unique() Removes duplicate values from an array 
array_unshift() Adds one or more elements to the beginning of an array 
array_values() Returns all the values of an array 
array_walk() Applies a user function to every member of an array 
array_walk_recursive() Applies a user function recursively to every member of an array 
arsort() Sorts an array in reverse order and maintain index association 
asort() Sorts an array and maintain index association 
compact() Create array containing variables and their values
count() Counts elements in an array, or properties in an object 
current() Returns the current element in an array 
each() Returns the current key and value pair from an array 
end() Sets the internal pointer of an array to its last element 
extract() Imports variables into the current symbol table from an array 
in_array() Checks if a specified value exists in an array
key() Fetches a key from an array
krsort() Sorts an array by key in reverse order
ksort() Sorts an array by key 
list() Assigns variables as if they were an array 
natcasesort() Sorts an array using a case insensitive "natural order" algorithm 

natsort() Sorts an array using a "natural order" algorithm 
next() Advance the internal array pointer of an array 
pos() Alias of current() 
prev() Rewinds the internal array pointer 
range() Creates an array containing a range of elements 
reset() Sets the internal pointer of an array to its first element
rsort() Sorts an array in reverse order
shuffle() Shuffles an array 
sizeof() Alias of count()
sort() Sorts an array 
uasort() Sorts an array with a user-defined function and maintain index association
uksort() Sorts an array by keys using a user-defined function
usort() Sorts an array by values using a user-defined function