[PHP] Re: General question...

2003-06-13 Thread Valentin
Thanks Bobby! -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

[PHP] Re: General question...

2003-06-12 Thread Bobby Patel
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;

[PHP] Re: General question...

2002-02-04 Thread Philip Hallstrom
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

Re: [PHP] Re: General question...

2002-02-04 Thread Lars Torben Wilson
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