cURL
Haxx ad
libcurl

curl's project page on SourceForge.net

Sponsors:
Haxx

cURL > Mailing List > Monthly Index > Single Mail

curl-and-php mailing list Archives

PLEASE URL STRING QUESTION!!! AN EASY ONE FOR YOU GUYS!!!

From: estertep meredretep <pruebacookie_at_hotmail.com>
Date: Sun, 28 May 2006 10:30:12 +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



Las mejores tiendas, los precios mas bajos, entregas en todo el mundo, YupiMSN Compras: Haz clic aquí...

_______________________________________________
http://cool.haxx.se/cgi-bin/mailman/listinfo/curl-and-php
Received on 2006-05-28

These mail archives are generated by hypermail.

donate! Page updated November 12, 2010.
web site info

File upload with ASP.NET