Open tampm-dev opened 3 years ago
$xml = file_get_contents('signed.xml'); $bodytag = str_replace("ds:", "", $xml); $bodytag = str_replace(":ds", "", $bodytag); unlink("1.xml"); $archivo = fopen("1.xml" , "a"); if ($archivo) { $datos=$bodytag; fputs ($archivo, $datos); } fclose ($archivo);
$xml = file_get_contents('signed.xml'); $bodytag = str_replace("ds:", "", $xml); $bodytag = str_replace(":ds", "", $bodytag); unlink("1.xml"); $archivo = fopen("1.xml" , "a"); if ($archivo) { $datos=$bodytag; fputs ($archivo, $datos); } fclose ($archivo);
$objDSig = new XMLSecurityDSig("");
How do I remove the prefix "ds:" from my signature. I tried attaching $objDSig = new XMLSecurityDSig(''); but this is not working for me. Can someone help me?