session_start(); if (isset($_POST["inputEmail3"])){ $usr=$_POST["inputEmail3"]; $pwd=$_POST["inputPassword3"]; $a1="http://intranet.aemol.com/lopd/extranet/index.php"; $a2=$a1."?usr=$usr&pwd=$pwd&what=1"; $hola = file_get_contents($a2); // NOCIF, NOALTA, SINRECIBO, id if ($hola=="NOMAIL") echo ""; if ($hola=="SINRECIBO") echo ""; if (is_numeric($hola)){ session_start(); // session_register ("sid_extranet"); $_SESSION["sid_extranet"]=$hola; echo ""; } } if (isset($_POST["cif"])){ $usr=$_POST["cif"]; $ema=$_POST["email"]; $a1="http://intranet.aemol.com/lopd/extranet/index.php"; $a2=$a1."?cif=$usr&email=$ema&what=2"; $hola = file_get_contents($a2); // NOCIF, SINRECIBO, id if ($hola=="NOCIF") echo ""; if ($hola=="SINRECIBO") echo ""; if (is_numeric($hola)){ echo ""; } } if (isset($_POST["emai"])){ //olvide contraseña $ema=$_POST["emai"]; $a1="http://intranet.aemol.com/lopd/extranet/index.php"; $a2=$a1."?email=$ema&what=4"; $hola = file_get_contents($a2); // NOCIF, SINRECIBO, id if ($hola=="NOCIF") echo ""; if ($hola=="SINRECIBO") echo ""; if (is_numeric($hola)){ echo ""; } } ?>
Usuarios Registrados:
Usuarios NO Registrados: