The function below performs encryption and decryption,
|SHA() or SHA1()||Not available|
$message is a variable. Whereas $$message is a reference variable. Suppose $message="test"; $$message is $test.
GET and POST methods are used to transfer data from one page to another. But the way of transfer is different. GET Method to have a limit like only 2kb data able to send for request. But in the POST method, unlimited data can be sent.
When we use GET method, the requested URL show in the URL. Whereas, Not in the POST method. The POST method is good for sending sensitive data.
header() function is used for the redirection of pages. It is very important that the header must be called before any actual output screen is seen.
By using $_SERVER['REMOTE_ADDR'] and $_SERVER['HTTP_REFERER'].
strstr returns the subpart of the string that we are finding out to the end of the string.
echo $domain_address; //Returns @gmail.com
stristr is case insensitive. It cannot able to differentiate between a and A
<?php echo date('Y-m-d H:i:s'); ?>
unset makes a variable undefined., Whereas unlink deletes the file from the file system.
By using, $_SERVER['HTTP_USER_AGENT'] variable.
What is the difference between session_unregister and session_unset?