<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<meta http-equiv="refresh" content="3; url=index.html" />
<title></title>
</head>
<body>
 <div align="center">
   <?php

       $mailto="saniyasystems.com@gmail.com, shoiab08shareef@gmail.com";
        $file="thanks.html";
        $pcount=0;
        $gcount=0;
        $subject = "Enquiry Form saniyasystems.com";

        $pstr='';
		$gstr='';
        $from="no-reply@saniyasystems.com";
        while (list($key,$val)=each($_POST))
        {
        $pstr = $pstr."$key : $val \n ";
        ++$pcount;

        }
        while (list($key,$val)=each($_GET))
        {
        $gstr = $gstr."$key : $val \n ";
        ++$gcount;

        }
        if ($pcount > $gcount)
        {
        $message_body=$pstr;
        mail($mailto,$subject,$message_body,"From:".$from);
        }
        ?>
   <br />
   <br />
  <h2> Thank you for Contacting Us... We Will contact you Soon....</h2>
 </div>
</body>
</html>