I would like to pass the user id (that in a specific case is an email) in a email form. Here the php for registered user only:
$LOGIN_INFORMATION = array(
'zubrag' => 'root',
'admin' => 'adminpass',
'firstname.lastname@example.org' => 'phuket'
<input type="hidden" name="email" value="<?php global $id; ?>">
<input type="hidden" name="email" value="<?php echo $_SESSION['LOGIN']; ?>">
That works for me