Sophie

Sophie

distrib > Mageia > 7 > i586 > media > core-release > by-pkgid > f1b2534be43dca71523102914927c906 > files > 26

php-pear-LiveUser-0.16.14-8.mga7.noarch.rpm

<!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>&nbsp;</p>
    <p>&nbsp;</p>
</body>
</html>