<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> <html> <head> <title>Example 1</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/XML driver. No permission management is supported.</p> <p>You only have to copy the files in this directory into your web root and configure the <b>PEAR path</b> in the example.php.</p> <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>conf.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><b>NOTE</b> the .xml files have to be chmod 757, i.e. others users need write read and execute permission </p> <p><a href="example.php">Go for it.</a></p> <hr /> <p><i>Login Data for this Example:</i></p> <table> <tr> <td style="text-align: center; font-weight: bold;">Handle</th> <td style="text-align: center; font-weight: bold;">Password</th> </tr> <tr> <td>father</td> <td>father</td> </tr> <tr> <td>mother</td> <td>mother</td> </tr> <tr> <td>child</td> <td>child</td> </tr> </table> <p> </p> <p> </p> </body> </html>