Source for file uns.php

Documentation is available at uns.php

  1. <?php
  2. $conn = mysql_connect ("mysql4.7", "audeandrupal", "URQfr4cL")
  3. or die ('echec de connexion') ;
  4. $db = mysql_select_db('audeandrupal', $conn)
  5. or die ('echec de selection de base') ;
  6.  
  7. $q = mysql_query ('select * from `users`') ;
  8. echo "<ul>\r\n" ;
  9. while ($o = mysql_fetch_object ($q))
  10. {
  11. $d = var_export (unserialize ($o->data), True) ;
  12. echo "<li>UID: $o->uid, Name: $o->name, Data: <pre>$d</pre></li>\r\n" ;
  13. }
  14. echo "</ul>\r\n" ;
  15. ?>

Documentation generated on Tue, 01 Nov 2005 23:15:04 +0100 by phpDocumentor 1.3.0RC3