Re: [PHP3] Curl and banking transactions

From: Date: Tue, 13 Jun 2000 23:22:55 +0000
Subject: Re: [PHP3] Curl and banking transactions
References: 1  Groups: php.general 
Request: Send a blank email to php-general+get-1775@lists.php.net to get a copy of this message
In article <002101bfd4ee$c7411760$6493e892@cheming.sun.ac.za>, tchemaly@ing.sun.ac.za ("Tim") wrote: > Does anyone know how I can write a php app that will validate CC using curl? > Additionally can I use curl to communicate with a banks server to allow > transfers from my savings account to another?? Something not unlike: <?php $curl = popen("/path/to/curl -a -b -c -d -e -f $creditcardnumber") or die("Unable to run curl. Check path/permissions<BR>\n"); while ($line = fgets($curl, 1000000){ echo $line, "<BR>\n"; } ?> There's probably an additional argument for popen for error messages, or maybe they just come back from the first fread(). Of course, you probably don't want to just print out the results... You may want to investigate the CyberCash module of PHP, use using some other third-party server to handle all the banking stuff... -- Richard Lynch | If this was worth $$$ to you, buy a CD US Customer Support Director | from one of the artists listed here: Zend Technologies USA | http://www.L-I-E.com/artists.htm http://www.zend.com | (this has nothing to do with Zend, duh!)

« previous php.general (#1775) next »