noalyss  Version-6.7.2
 All Data Structures Namespaces Files Functions Variables Enumerations
Variables
show_document_modele.php File Reference

send the document template More...

Go to the source code of this file.

Variables

 $cn = new Database($gDossier)
 $file = fopen($tmp,'r')
global $g_user = new User($cn)
 $gDossier = dossier::id()
 $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 show_document_modele.php.


Variable Documentation

$cn = new Database($gDossier)

Definition at line 30 of file show_document_modele.php.

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

Definition at line 61 of file show_document_modele.php.

$g_user = new User($cn)

Definition at line 33 of file show_document_modele.php.

$gDossier = dossier::id()

Definition at line 29 of file show_document_modele.php.

$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']))

Definition at line 39 of file show_document_modele.php.

Definition at line 46 of file show_document_modele.php.

$tmp = tempnam($_ENV['TMP'],'document_')
while(!feof($file)) echo fread($file

Definition at line 62 of file show_document_modele.php.

 All Data Structures Namespaces Files Functions Variables Enumerations