Thanks Bobby!
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
You can try using the cURL package with PHP. I use it with a system call.
$curl_path = /usr/bin/curl; # or full path of curl
$post = 'amount=3.40merchant_id=2351235'; #POST key value pairs with ,
these variables will be POSTed to site
$command = $curl_path -d \$post\ $gateway_url;
Something along the lines of:
if( ereg(/confirm.php, $_SERVER['HTTP_REFERER']) ) {
Header(Location: thanks.php);
exit;
}else {
Header(Location: index.php);
exit;
}
You might want to do some additional checking as well.. the above would
match both
On Mon, 2002-02-04 at 13:52, Philip Hallstrom wrote:
Something along the lines of:
if( ereg(/confirm.php, $_SERVER['HTTP_REFERER']) ) {
Header(Location: thanks.php);
exit;
}else {
Header(Location: index.php);
exit;
}
You might want to do some additional
4 matches
Mail list logo