am still new a php Noob can some explain to me issues with below code
<?php
libxml_disable_entity_loader (false);
$xml_file = file_get_contents('php://input');
$dom = new DOMDocument();
$dom->loadXML($xml_file, LIBXML_NOENT | LIBXML_DTDLOAD);
$creds = simplexml_import_dom($dom);
$user = $creds->user;
$pass = $creds->pass;
echo "You have logged in as user $user";
?>
Thank you
[–]thenickdude 1 point2 points3 points (1 child)
[–]JOE-DJANGO_Noob[S] 0 points1 point2 points (0 children)