So I got the Curl part working (I think)
When the use enters his data into my form and presses submit my page uses curl to contact the Credit Card processor and pulls the page int oa variable
the pages datat looks like this
Code: Select all
<html><head><title>Response File Redirect</title></head><body onload="document.myForm.submit()"><form action="
https://gg.com/vposwebreponse.asp" method="POST" name="myForm"><input type="hidden" name="Transactionamount" value="1.00"><input type="hidden" name="Orderstring" value="4~Resients~1.00~1~N~||"></form></body></html>The question is... i need several of those values to figure out what my script does next...
mainly this one
Code: Select all
<input type="hidden" name="szIsApproved" value="1">so i woudl love to do a $szIsApproved = pregmatch(ihavenoclue);
for all the impt variable
but how do i fish that data out of there for different variables? so i can do a
switch szIsApproved (or whatever vairable im getting info for)
case 1:
do this
case 0:
do this then
MANY tHanks in advance.... jst tell me wher eto send the beer.