<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> <html> <head> <title>Example 4</title> <meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1" /> <style type="text/css"> <!-- body { font-family: Verdana, Arial, Helvetica, sans-serif; font-size: 12px; color: #000000; background-color: #FFFFFF } table { border: 1px solid #000; border-top: 0px; border-right: 0px; border-spacing: 0px; border-collapse: collapse; } table td { width: 100px; border-top: 1px solid #000; border-right: 1px solid #000; padding: 5px; } --> </style> </head> <body> <h1>Test for the LiveUser class</h1> <p>This example is intended to be used with the Auth/MDB2 and the Perm/MDB2_Complex driver.</p> <p>To set this up follow these steps:</p> <ol> <li>Copy the files in this directory into your web root.</li> <li>Configure your DSN and the PEAR path in the conf.php.</li> <li>Make sure you read README in the examples root folder.</li> <li>Importing demodata.xml to your test database using the demodata.php script</li> </ol> <p>If you want to test this example in your local path with out installing LiveUser in PEAR on your server then uncomment these two lines in <b>main.inc.php</b> and point $path_to_liveuser_dir to live user dir :)<br /> <br /> $path_to_liveuser_dir = './pear/'.PATH_SEPARATOR;<br /> ini_set('include_path', $path_to_liveuser_dir.ini_get('include_path'));<br /> </p> <p><a href="news_view.php">Go for it.</a></p> <hr /> <p><i>Login Data for this Example:</i></p> <table border="1"> <tr> <td style="text-align: center; font-weight: bold;">Handle</th> <td style="text-align: center; font-weight: bold;">Group</th> <td style="text-align: center; font-weight: bold;">Password</th> </tr> <tr> <td>admin</td> <td>ADMINS</td> <td>test</td> </tr> <tr> <td>userA</td> <td>GroupA+B</td> <td>test</td> </tr> <tr> <td>userB</td> <td>GroupA</td> <td>test</td> </tr> <tr> <td>userC</td> <td>GroupB</td> <td>test</td> </tr> </table> <p> </p> <p> </p> </body> </html>