help check this code , what it error THX i have test it code, run it. see blank page. function cncard_process($params){ global $base, $securebase; if($params['auth_test']=="1"){$params['auth_test']="Y";}else{$params['auth_test']="";} $returnurl=str_replace("http://","",$base)."/cncardcallback.php"; $c_mid = $params['auth_username']; $c_order = $params['seed']; $c_address = $params['AuxBillingAddress1']; $c_tel = $params['AuxBillingCardPhone']; $c_post = $params['AuxBillingPostalCode']; $c_email = $params['RegistrantEmailAddress']; $c_usd1 = $params['total_charge']; $c_rmb = 6.85; $c_orderamount = $params['total_charge']*$c_rmb; $c_ymd = data(Ymd); $c_moneytype= "0"; $c_retflag = "1"; $c_paygate = ""; $c_returl = "http://$base/"; $c_memo1 = "ABCDE"; $c_memo2 = "12345"; $c_pass = $params['auth_secretkey']; $notifytype = "1"; $c_language = "0"; $srcStr = $c_mid . $c_order . $c_orderamount . $c_ymd . $c_moneytype . $c_retflag . $c_returl . $c_paygate . $c_memo1 . $c_memo2 . $notifytype . $c_language . $c_pass; $c_signstr = md5($srcStr); $theform = "<form action=\"".$params['auth_url']."\" method=\"post\"> <input type=\"hidden\" name=\"c_mid\" value=\".$c_mid.\"> <input type=\"hidden\" name=\"c_order\" value=\".$c_order.\"> <input type=\"hidden\" name=\"c_name\" value=\"".$params['AuxBillingFirstName']."%20".$params['AuxBillingLastName']."\"> <input type=\"hidden\" name=\"c_address\" value=\".$c_address.\"> <input type=\"hidden\" name=\"c_tel\" value=\".$c_tel.\"> <input type=\"hidden\" name=\"c_post\" value=\"".$params['AuxBillingPostalCode']."\"> <input type=\"hidden\" name=\"c_email\" value=\"".$params['RegistrantEmailAddress']."\"> <input type=\"hidden\" name=\"c_orderamount\" value=\".$c_orderamount.\"> <input type=\"hidden\" name=\"c_ymd\" value=\".$c_ymd.\"> <input type=\"hidden\" name=\"c_moneytype\" value=\".$c_moneytype.\"> <input type=\"hidden\" name=\"c_retflag\" value=\".$c_retflag.\"> <input type=\"hidden\" name=\"c_paygate\" value=\".$c_paygate.\"> <input type=\"hidden\" name=\"c_returl\" value=\"$returnurl\"> <input type=\"hidden\" name=\"c_memo1\" value=\".$c_memo1.\"> <input type=\"hidden\" name=\"c_memo2\" value=\".$c_memo2.\"> <input type=\"hidden\" name=\"c_language\" value=\".$c_language.\"> <input type=\"hidden\" name=\"notifytype\" value=\".$notifytype.\"> <input type=\"hidden\" name=\"c_signstr\" value=\"$c_signstr\"> <input type=\"submit\" name=\"Submit\" value=\"".CONTINUETOPAY."\" class=\"formfield\"> </form>"; return $theform; } PHP: