note 55296 deleted from ref.image by didou
| From: | didou@php.net | Date: | Sun, 23 Apr 2006 23:02:36 +0000 |
| Subject: | note 55296 deleted from ref.image by didou | ||
| References: | 1 | Groups: | php.notes |
| Request: | Send a blank email to php-notes+get-109253@lists.php.net to get a copy of this message | ||
Note Submitter: yasin yyalcinkaya at ku dot edu dot tr
----
firstly , i wrote this class. we can easily call it from anywhere. Soppose , its name is
"imageuploader.class.php" and our main file's name is upload.php.
<?php
class Imenu
{
function Ifonc() {
echo "<table class=\"adminform\">"
."<form method=\"post\" action=\"upload.php\"
enctype=\"multipart/form-data\" name=\"filename\">"
."<tr><th class=\"title\"> File Upload : $directory
</th>"
."</tr><tr><td align=\"center\"><input
class=\"inputbox\" name=\"userfile\" type=\"file\" />"
."</td></tr><tr><td>"
."<input class=\"button\" type=\"submit\"
value=\"Upload\" name=\"fileupload\" />"
."</td><tr><td>"
."<input type=\"hidden\" name=\"directory\"
value=\"$directory\" />"
."</td></tr></form>"
."</table>";
return true;
}
}
?>