fhiiqm/test/file_dialog.php
author Bettina Schwarzer <schwarzer@fhi-berlin.mpg.de>
Fri, 16 Nov 2012 10:40:03 +0100
changeset 32 c2d325791e24
parent 26 3c1e3ac7089f
permissions -rw-r--r--
+ Mitarbeiter - Telefon

<?php

/**
 * @author Bettina Schwarzer, Fritz-Haber-Institut
 * @copyright 04/2012
 * 
 * Dialogbox File-Auswahl
 * 
 */

$sub = $_POST["submit"];
$fn = $_POST["fn"];
if ($sub) echo "fn = $fn<br />";
else
{
?>
    <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
    <html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en">
    
    <head>
    	<meta http-equiv="content-type" content="text/html; charset=iso-8859-1" />
       	<link href="/fhiiqm/css/db.css" rel="STYLESHEET" type="TEXT/CSS" /> 
       	<link href="/fhiiqm/css/navio.css" rel="STYLESHEET" type="TEXT/CSS" /> 
    	<meta name="author" content="Bettina Schwarzer,FHI" />
    
    	<title>Test File Dialog</title>
    </head>
    
    <body>
    <p>&nbsp;&nbsp;&nbsp;Bitte Datei w&auml;hlen:</p> 
    <form action="<?php $_SERVER["PHP_SELF"] ?>" method="post">
    <p>&nbsp;&nbsp;&nbsp;    
    <input type="file" name="fn" />
    <input type="submit" name="submit" value=" submit " class="button"/></p>
    </form>
    
<?php
}
?>
</body>
</html>