Tracking E-mail very simple

For chrome:

Step 1:

Sign up on Mail Tracker App here

It will send you activation link in mail just click on that. And login in app and Generate html by entering mail subject.

Step 2:

Install the below given extention in chrome browser

Chrome Extention

Now create new html and add the previously created html from Shivalink Mail App.

Step 3:

Goto gmail and compose new email, now when you click the body you will see ‘G’ like icon name Gorgias, just click on that and insert the template. Now Write your mail and click send.

Now your mate read your mail you will get the mail with time, to look ip you can login to Shivalink Mail App.

Also there is little hack in it. you can just send the image src path to your mate and when he clicks on it you will receive the mail and also you can see his ip in Shivalink mail App.

add js or css depending on browser with php with the below short code:

<?=    (preg_match('/Safari/i',$_SERVER["HTTP_USER_AGENT"] )) ? 'body{line-height:1.2; margin:0;padding:0;} @media print { html, body { margin: 0; padding: 0; }' : '' ?>

Also you can do more with the below code

$u_agent = $_SERVER['HTTP_USER_AGENT'];
$bname = 'Unknown';
$platform = 'Unknown';
$version= "";

//First get the platform?
if (preg_match('/linux/i', $u_agent)) {
$platform = 'linux';
elseif (preg_match('/macintosh|mac os x/i', $u_agent)) {
$platform = 'mac';
elseif (preg_match('/windows|win32/i', $u_agent)) {
$platform = 'windows';

$bname = 'Apple Safari';
$ub = "Safari";

Hello friends here is the php script to unzip .zip files.

$zip = new ZipArchive;
$res = $zip->open(‘’);
if ($res === TRUE) {
echo ‘woot!’;
} else {
echo ‘doh!’;


Php program for insertion sort. Easy implementation.

here is the link just try once

/**Function for sorting an array with insertion sort algorithm.
* @param array $array
* @return array
function insertionSort(array $array) {
for ($i=1;$i<$length;$i++) {
while($j>0 && $array[$j-1]>$element) {
//move value to right and key to previous smaller index
//put the element at index $j
return $array;
$array = range(0, 19);
$arr = insertionSort($array);

here is the link just try once

Here is 4 best methods to prevent access to your php file directly

  1.  <?php if(count(get_included_files()) ==1) exit(“Error , Contact [email protected]”); echo “data here” ; ?> – See more at:
  2. <?php debug_backtrace() || die (“Direct access not permitted”); echo “data here” ; ?> – See more at:
  3. <?php if (strpos($_SERVER[‘REQUEST_URI’], basename(__FILE__)) !== false) {die(‘Error , Contact [email protected]’);} echo “data here” ; ?> – See more at:
  4. <?php if (basename($_SERVER[‘PHP_SELF’]) == basename(__FILE__)) { die(‘Error , Contact [email protected]’); }; echo “data here” ; ?> – See more at: