eventh  1.1.11
About: Event Horizon is a web-based single-use file transfer system utilizing HTTP and/or FTP (written in PHP). Hint: Work discontinued (you may see Event Horizon 2).
  Fossies Dox: eventh-1.1.11.tar.gz  ("inofficial" and yet experimental doxygen-generated source code documentation)  

modapply.php File Reference

Go to the source code of this file.

Variables

 else
 
 $query ='update Files set description="' . $File1Description . '" where id=' . $fileid
 
 $res = mysql_query($query,$dbh) or die('<p><b>Could not update file information.</b>.\n<br />Query: ' . $query . '<br />\nError: (' . mysql_errno() . ') ' . mysql_error())
 
 $queryavail ='select Availability.long from Availability where Availability.short="' . $AvailabilityPeriod . '"'
 
 $resavail = mysql_query($queryavail,$dbh) or die('<p><b>Could not retrieve availability.</b>.\n<br />Query: ' . $queryavail . '<br />\nError: (' . mysql_errno() . ') ' . mysql_error())
 
 $rowavail = mysql_fetch_row($resavail)
 
 $availlong = $rowavail[0]
 
 $querysize = 'select size from Files where id=' . $fileid
 
 $ressize = mysql_query($querysize,$dbh) or die('<p><b>Could not retrieve file size.</b>.\n<br />Query: ' . $querysize . '<br />\nError: (' . mysql_errno() . ') ' . mysql_error())
 
 $rowsize = mysql_fetch_row($ressize)
 
 $filesize = round($rowsize[0] / 1024 / 1024, 2)
 
 $mailheader = $utf8mailhdr . 'From: ' . $srcemail . "\r\n" . 'Reply-To: ' . $srcemail
 
 $mailmsg = 'The following file has been modified.<br><br>'
 
 $dismsg = 'Session was modified successfully.'
 
 if ( $savehistory) =$titleandmenu
 
if(isset($ba) and $ba==1) print $footer =$dismsg
 

Variable Documentation

◆ $availlong

$availlong = $rowavail[0]

Definition at line 77 of file modapply.php.

◆ $dismsg

$dismsg = 'Session was modified successfully.'

Definition at line 96 of file modapply.php.

◆ $filesize

$filesize = round($rowsize[0] / 1024 / 1024, 2)

Definition at line 83 of file modapply.php.

◆ $footer

if (isset( $ba) and $ba==1) print $footer =$dismsg

Definition at line 107 of file modapply.php.

◆ $mailheader

$mailheader = $utf8mailhdr . 'From: ' . $srcemail . "\r\n" . 'Reply-To: ' . $srcemail

Definition at line 85 of file modapply.php.

◆ $mailmsg

$mailmsg = 'The following file has been modified.<br><br>'

Definition at line 87 of file modapply.php.

◆ $query

$query ='update Files set description="' . $File1Description . '" where id=' . $fileid

Definition at line 68 of file modapply.php.

◆ $queryavail

$queryavail ='select Availability.long from Availability where Availability.short="' . $AvailabilityPeriod . '"'

Definition at line 74 of file modapply.php.

◆ $querysize

$querysize = 'select size from Files where id=' . $fileid

Definition at line 80 of file modapply.php.

◆ $res

$res = mysql_query($query,$dbh) or die('<p><b>Could not update file information.</b>.\n<br />Query: ' . $query . '<br />\nError: (' . mysql_errno() . ') ' . mysql_error())

Definition at line 69 of file modapply.php.

◆ $resavail

$resavail = mysql_query($queryavail,$dbh) or die('<p><b>Could not retrieve availability.</b>.\n<br />Query: ' . $queryavail . '<br />\nError: (' . mysql_errno() . ') ' . mysql_error())

Definition at line 75 of file modapply.php.

◆ $ressize

$ressize = mysql_query($querysize,$dbh) or die('<p><b>Could not retrieve file size.</b>.\n<br />Query: ' . $querysize . '<br />\nError: (' . mysql_errno() . ') ' . mysql_error())

Definition at line 81 of file modapply.php.

◆ $rowavail

$rowavail = mysql_fetch_row($resavail)

Definition at line 76 of file modapply.php.

◆ $rowsize

$rowsize = mysql_fetch_row($ressize)

Definition at line 82 of file modapply.php.

◆ else

else
Initial value:

Definition at line 64 of file modapply.php.

◆ if

if =$titleandmenu

Definition at line 104 of file modapply.php.

$DestinationEmail
$DestinationEmail
Definition: uploadfiles.php:32
clean_email_string
clean_email_string($string)
Definition: functions.php:116