Get access to the log entries

Sample Page

$_REQUEST variables - Vardump

Array
(
    [action] => chgstat
    [id] => 26
)

Sample #1 GET-Method

Using aus.php?action=... instead of index.php?action=... to get the confirmation function without any additional PHP coding or Java scripting.

UserSmthg. moreTools
mac.....delete | deactivate | ...
john.....delete | deactivate | ...
troy.....delete | deactivate | ...
jimmy.....delete | deactivate | ...
<table class='tabl'>
<tr class='tablh'><td>User</td><td>Smthg. more</td><td style='width:150px;'>Tools</td></tr>
<tr class='tablc1'>
<td>mac</td><td>.....</td><td><a href='aus.php?action=delete&amp;id=13'>delete</a> | <a href='?action=chgstat&amp;id=13'>deactivate</a> | ...</td></tr><tr class='tablc2'>
<td>john</td><td>.....</td><td><a href='aus.php?action=delete&amp;id=26'>delete</a> | <a href='?action=chgstat&amp;id=26'>deactivate</a> | ...</td></tr><tr class='tablc1'>
<td>troy</td><td>.....</td><td><a href='aus.php?action=delete&amp;id=39'>delete</a> | <a href='?action=chgstat&amp;id=39'>deactivate</a> | ...</td></tr><tr class='tablc2'>
<td>jimmy</td><td>.....</td><td><a href='aus.php?action=delete&amp;id=52'>delete</a> | <a href='?action=chgstat&amp;id=52'>deactivate</a> | ...</td></tr>
</table>

Sample #2 Simple POST-Form with another target

Using aus.php instead of actions.php as action for the form to get the confirmation function without any additional PHP coding programming or Java scripting.
Makes only sense if a deletion or update should be confirmed.

User:

Pass:

URL:

Comments:

<form method='post' action='aus.php'>
<div><input type='hidden' name='action' value='updateaccount' />
<input type='hidden' name='uid' value='34' />
<input type='hidden' name='targetlink' value='actions.php' />
<input type='hidden' name='another' value='secret value' />
User:<br />
<input type='text' name='user' value='Mac' class='fw1' /><br />
Pass:<br />
<input type='password' name='pass' value='' class='fw1' /><br />
URL:<br />
<input type='text' name='url' value='http://homac.net/' class='fw1' /><br />
Comments:<br />
<textarea cols='65' rows='10' class='ta1' name='comments'>Lorem ipsum dolor sit amet consectetuer Curabitur Mauris tempus Vestibulum ut. Sem sociis metus nulla quis Quisque et eu Morbi pretium laoreet.</textarea><br />
<input type='submit' value='update' class='button' />
</div>
</form>

Sample #3 POST-Form with Array Fields

Using aus.php instead of index.php as action for the form to get the confirmation function without any additional PHP coding programming or Java scripting.

Mac
Jimmy
Jonas
Mary
Joan
Tim
Backup
Yes, backup them
No, just delete them
<form method='post' action='aus.php'>
<div><input type='hidden' name='action' value='handlemembers' />
<input type='hidden' name='another' value='secret value' />
<input type='checkbox' name='uid[]' value='65' /> Mac<br />
<input type='checkbox' name='uid[]' value='78' /> Jimmy<br />
<input type='checkbox' name='uid[]' value='91' /> Jonas<br />
<input type='checkbox' name='uid[]' value='104' /> Mary<br />
<input type='checkbox' name='uid[]' value='117' /> Joan<br />
<input type='checkbox' name='uid[]' value='130' /> Tim<br />
Backup<br />
<input type='radio' name='backup' value='1' checked='checked' /> Yes, backup them<br />
<input type='radio' name='backup' value='0' /> No, just delete them<br />
<input type='submit' value='Delete selected users' class='button' />
</div>
</form>