1 <?php 2 session_start(); 3 ?> 4 <html> 5 <head> 6 <title>adLDAP authentication</title> 7 </head> 8 9 <body> 10 11 <p>If you called authenticate.php and you are redirected to this page, you successfully authenticated against Active Directory with your credentials.</p> 12 13 User Details for <?php $_SESSION['username']; ?><br /> 14 <pre> 15 <?php 16 print_r($_SESSION['userinfo']); 17 ?> 18 </pre> 19 20 </body> 21 </html>