Heres the deal. I have this webpage www.egoldgames.info
When people click double now its supposed to go to https://www.e-gold.com/sci_asp/payments.asp and the payee is supposed to be my e-gold number
but it doesnt it just sits there. Try it and find out
heres the script for the part that handles the bet
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.1//EN" "http://www.w3.org/TR/xhtml11/DTD/xhtml11.dtd">
<?
include_once("conf.php");
include_once("lib/disktool.php");
include_once("error.php");
$disk_tool=new disk_tool();
$guess=$_REQUEST['guess'];
$ref=$_REQUEST['ref'];
$amount=$_REQUEST['amount'];
$sid=0;
//---------------------------------------------
// make sid
function make_sid()
{
list($usec, $sec) = explode(" ",microtime());
return ((float)$usec + (float)$sec);
}
//---------------------------------------------
// Check expired transactions
function check_expired_trans()
{
global $disk_tool;
$now=make_sid();
$list=$disk_tool->get_dir_content("data");
$timeout=30*60; // 30 minutes
if ($list!=NULL)
{
for ($i=0;$i<count($list);$i++)
if ($now-$list[$i]>$timeout)
$disk_tool->delete("data/".$list[$i]);
}
}
//---------------------------------------------
// Write transaction
// return TRUE/FALSE
function write_trans()
{
global $disk_tool;
global $sid;
global $ref;
global $guess;
$data=array($guess.":".$ref);
return $disk_tool->write_text("data/".$sid,$data);
}
$sid=make_sid();
check_expired_trans();
if (write_trans()==false)
{
$error=new error();
$error->run("Failed to write transaction");
exit;
}
?>
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<title><?=$sitename?> E-Gold Heads or Tails Game</title>
<meta name="Description" content="<?=$meta_description?>" />
<meta name="Keywords" content="<?=$meta_keywords?>" />
<meta name="title" content="<?=$meta_description?> Egold betting game" />
<meta name="language" content="english" />
<meta name="copyright" content="<? echo date("Y"); ?> <?=$sitename?>" />
<meta name="author" content="Info Goblin" />
<meta name="robots" content="INDEX, FOLLOW, ALL" />
<meta name="goooglebot" content="INDEX, FOLLOW, ALL" />
<meta name="revisit-after" content="3 days" />
<meta name="document-class" content="Completed" />
<meta name="document-classification" content="Gambling" />
<meta name="document-rights" content="Copyrighted Work" />
<meta name="document-type" content="Public" />
<meta name="document-rating" content="General" />
<meta name="document-distribution" content="Global" />
<meta name="document-state" content="Dynamic" />
<meta name="cache-control" content="Public" />
<meta http-equiv="imagetoolbar" content="no" />
<link rel="icon" href="/favicon.ico" />
<link rel="shortcut icon" href="/favicon.ico" />
<link rel="stylesheet" type="text/css" href="includes/style.css" />
<style type="text/css">
<!--
.style1 {font-family: Verdana, Arial, Helvetica, sans-serif}
-->
</style>
</head>
<body>
<table width="100%" height="100%" cellspacing="0" cellpadding="0" border="0">
<tr>
<td align="center" valign="middle" width="100%" height="100%" >
<h3 class="style1">Contacting e-gold Payment System ..<br />
Please wait .. </h3></td>
</tr>
</table>
</body>
<form action="https://www.e-gold.com/sci_asp/payments.asp" method="post" target="_top" id="egold">
<input type="hidden" name="PAYEE_ACCOUNT" value="<?=$EGOLD_ID?>" />
<input type="hidden" name="PAYEE_NAME" value="<?=$EGOLD_NAME?>" />
<input type="hidden" name="PAYMENT_AMOUNT" value="<?=$amount?>" />
<input type="hidden" name="PAYMENT_UNITS" value="1" />
<input type="hidden" name="PAYMENT_METAL_ID" value="1" />
<input type="hidden" name="PAYMENT_ID" value="<?=$sid?>" />
<input type="hidden" name="PAYMENT_URL" value="<?=$FULL_URL."/result.php"?>" />
<input type="hidden" name="PAYMENT_URL_METHOD" value="POST" />
<input type="hidden" name="NOPAYMENT_URL" value="<?=$FULL_URL?>" />
<input type="hidden" name="NOPAYMENT_URL_METHOD" value="LINK" />
<input type="hidden" name="BAGGAGE_FIELDS" value="" />
<input type="hidden" name="SUGGESTED_MEMO" value="E-gold Heads or Tails Game from <?=$sitename?>: your email here." />
</form>
<script type="text/javascript">document.egold.submit();</script>
</html>
I Got a few more scripts in this program but I cant post them since of the 10,000 character limit.
Ill post them if theres nothing wrong here.
Thanks in advance 🙂