Hi guys.
I have this piece of PHP code which I would need to translate into ASP. I have no idea of ASP. Can anyone help me?
//-------------- start -------------------------
$pw="xxxx";
$UserID="yyyy";
$fp = fopen ("http://www.mysite.com?Receipts=041301102428761&Login_Name=$UserID&Login_Password=$pw", "r");
$text=fread($fp,1024);
$text=str_replace("Receipt,Identifier,Amount,Auth,FraudCode,ReasonCode,Status,Batch","",$text);
$textToVector=explode(",",$text);
$VReceipt=$textToVector[0];
$VIdentifier=$textToVector[1];
$VAmount=$textToVector[2];
$VAuth=$textToVector[3];
$VFraudCode=$textToVector[4];
$VReasonCode=$textToVector[5];
$VStatus=$textToVector[6];
$VBatch=$textToVector[7];
//-------------- End -------------------------
Best Regards
Johan