如何从MS Store获取证书链,而不显示智能卡的弹出窗口,如下所示:
我不需要私钥,我只需要商店里的公共证书。
我用
$arr1=[];
$sqlquery="Select codart,canped,codpro
from gcpedl
where gcpedl.numped in (
select numped
from gcpedc
where texto like '".$_POST['codobra']."'
)";
$query_execute = mssql_query($sqlquery);
while($query_result=mssql_fetch_array($query_execute)){
$arr1=$query_result;
$sqlq="Select distinct alart.codart,pultcomp,alart.codpro
from alart,gcpedl
where gcpedl.numped in
( select numped
from gcpedc
where texto like '".$_POST['codobra']."')
and alart.codart in
(Select codart
from gcpedl
where numped in
( select numped
from gcpedc
where texto like '".$_POST['codobra']."')) ";
$sqlex =mssql_query($sqlq);
while($sqlre=mssql_fetch_array($sqlex)){
if ( trim(strtoUPPER($sqlre['codart'])," ")==trim(strtoUPPER($query_result['codart'])," ")
and $sqlre['codpro']==$query_result['codpro'] )
{
if ( $arr1['codart'] != 'CUADRO'
and $arr1['codart'] != 'cuadro'
and $arr1['codart'] != 'instalacion'
and $arr1['codart'] != 'INSTALACION')
{
$materiales= $materiales+ ($sqlre['pultcomp']*$arr1['canped']);
}
}
}
谢谢