Sunday, 4 January 2015

Get Vs Post

These two methods used for requests responses between server and client.

Get:

In get we request data from a particular url or resource eg:mypage.php?variable=msg&varibale2=msg2  this method not useful when dealing with secure data

Post:

In post we submit data to specific resource or page,its more secure method than get it has no limit for data length.

Friday, 2 January 2015

Concatenation In PHP of Variables

In php concatenation operator represented by (.) Example:
<?php

$first="php";
$second="-guidelines.blogspot.com";

echo"$first"."$second"; // print output php-guidelines.blogspot.com

?>