noalyss Version-9
Variables
export_document_template.php File Reference

send the document template More...

Go to the source code of this file.

Variables

 $file =fopen($tmp,'r')
 
 $r
 
if(Database::num_row($r)==0) $row =Database::fetch_array($r,0)
 
 $tmp =tempnam($_ENV['TMP'],'document_')
 
 while (!feof( $file)) echo fread( $file
 

Detailed Description

send the document template

Definition in file export_document_template.php.

Variable Documentation

◆ $file

$file =fopen($tmp,'r')

◆ $r

$r
Initial value:
=$cn->exec_sql("select md_id,md_lob,md_filename,md_mimetype
from document_modele where md_id=$1",array($_REQUEST['md_id']))
$_REQUEST['ac']

Definition at line 28 of file export_document_template.php.

◆ $row

Definition at line 35 of file export_document_template.php.

◆ $tmp

$tmp =tempnam($_ENV['TMP'],'document_')

◆ while

while(!feof($file)) echo fread($file ( feof $file)

Definition at line 51 of file export_document_template.php.