curl-and-php
PLEASE URL STRING QUESTION!!! AN EASY ONE FOR YOU GUYS!!!
Date: Sun, 28 May 2006 10:30:39 +0000
Hi, I have this problem...
I have two pages, buyerpage.php (on my server) and paymentgw.asp (on my merchant payment gateway)
The first one is intended to take the credit card info of my clients, and send it directly via POST METHOD to paymentgw.asp (on HTTPS adress) using LIBCURL FUNCTIONS (as we know to send post data directly to server)
https://www.paymentgw.com/paymentgw.asp
Then this page returns a redirect response to my buyerpage.php (on HTTP) but adding an URL STRING VARIABLE:
ex:
http://www.myserver.com/buyerpage.php?VAR=APPROVED
or
http://www.myserver.com/buyerpage.php?VAR=DECLINED
QUESTION:
HOW COULD I TAKE THAT URL STRING FROM THE RESPONSE OF THE GATEWAY SERVER PAGE USING LIBCURL FUNCTIONS???
You can see an explanatory image as attachment here
http://mochikit.sc31.info/urlstringquestion.gif
THANKS IN ADVANCE!!!
Saludos desde PERU!
JR
Consigue aquí las mejores y mas recientes ofertas de trabajo en América Latina y USA: Haz clic aquí
_______________________________________________
http://cool.haxx.se/cgi-bin/mailman/listinfo/curl-and-php
Received on 2006-05-28