You are not allowed to access this page.

"); drawfooter($debug); exit(); } if(!isset($_POST['bugmsg'])) { drawheader('Report Bug'); echo('
'); echo('

Please describe the bug here, in as much detail as possible:

'); echo(''); echo('
'); echo('
'); drawfooter($debug); exit(); } $to = 'vvdea@vmdb.org'; $subj = 'VVDEA bug report from ' . $_SESSION['uid']; # Only use first 2000 chars of the message, just in case $msg = substr($_POST['bugmsg'], 0, 2000); $headers = 'From: vvdea@vmdb.org'; $mailresult = mail($to, $subj, $msg, $headers); drawheader('Report Bug'); if($mailresult) { echo('

This bug has been reported.

'); echo('

Please use the Back button on your browser, or go to the '); echo('VVDEA Home Page

'); } else { echo('

There was an error sending this report.

'); echo('

Please use your usual email program to contact the VVDEA administrators.

'); echo('VVDEA Home Page

'); } drawfooter($debug); exit(); ?>