haveAuthInfo()) pla_error(_('Not enough information to login to server. Please check your configuration.')); $continuous_mode = isset($_POST['continuous_mode']) ? 1 : 0; if (isset($_REQUEST['ldif']) && trim($_REQUEST['ldif'])) { $textarealdif = $_REQUEST['ldif']; $remote_file = 'STDIN'; $file_len = strlen($textarealdif); } elseif (isset($_FILES['ldif_file'])) { $file = $_FILES['ldif_file']['tmp_name']; $remote_file = $_FILES['ldif_file']['name']; $file_len = $_FILES['ldif_file']['size']; is_array($_FILES['ldif_file']) or pla_error(_('Missing uploaded file.')); file_exists($file) or pla_error(_('No LDIF file specified. Please try again.')); $file_len > 0 or pla_error(_('Uploaded LDIF file is empty.')); } else { pla_error(_('You must either upload a file or provide an LDIF in the text box.')); } include './header.php'; echo '
'; printf(''; echo ' | ';
printf('%s'; printf('%s %s',$errorMessage,$faultyEntry->dn); printf(' %s: %s ',_('Description'),$exception->message); printf('%s: %s ',_('Line'),$exception->currentLine); printf('%s: %s ',_('Line Number'),$exception->lineNumber); echo ''; printf(' | ';
echo '