<?php include('aes.php')?> <?php require("includes/conn1.php"); error_reporting(0); $workingKey='asdf4asdf5asdf4asdf5asdf4a'; $encResponse=$_POST["encResponse"]; $rcvdString=decrypt($encResponse,$workingKey); $decryptValues=explode('&', $rcvdString); $dataSize=sizeof($decryptValues); /*echo "<center>"; echo "<table cellspacing=4 cellpadding=4>"; */for($i = 0; $i < $dataSize; $i++) { $information=explode('=',$decryptValues[$i]); /* echo '<tr><td>'.$information[0].'</td><td>'.$information[1].'</td></tr>'; */ $ar[]=$information[1]; } for($i = 0; $i < $dataSize; $i++) { if($ar[$i]=='') { $ar[$i]="null"; } } $sql=pg_query("insert Statement here"); if($ar[3] == 'N') print "<script language="Javascript">document.location.href='http://abc.in/index.php' ;</script>"; else print "<script language="Javascript">document.location.href='http://abc.in/index2.php' ;</script>"; exit; ?>
var
This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)