<?xml version="1.0" encoding="iso-8859-1"?>
<!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">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1" />
<link rel="home" title="HomePage" href="HomePage.html" />
<link rel="help" title="HowToUseWiki" href="HowToUseWiki.html" />
<link rel="copyright" title="GNU General Public License" href="http://www.gnu.org/copyleft/gpl.html#SEC1" />
<link rel="author" title="The PhpWiki Programming Team" href="http://phpwiki.org/ThePhpWikiProgrammingTeam" />
<meta http-equiv="Content-Style-Type" content="text/css" />
<meta http-equiv="Content-Language" content="en" />
<meta name="robots" content="noindex,nofollow" />
<meta name="language" content="en" />
<meta name="document-type" content="Public" />
<meta name="document-rating" content="General" />
<meta name="generator" content="PhpWiki" />
<meta name="PHPWIKI_VERSION" content="1.3.14" />

<base href="../" />
<link rel="stylesheet" type="text/css" charset="iso-8859-1" href="phpwiki-printer.css" />
<title>PhpWiki - Help  /  Up Load Plugin</title>
</head>
<body>

<div id="header">
  
<!-- Page title -->
<h1>Help  /  Up Load Plugin</h1>
</div>
<div id="content">



<div class="wikitext"><p class="tightenable top">The <a href="UpLoad.html" class="wiki">UpLoad</a> <a href="Help/WikiPlugin" class="interwiki"><span style="white-space: nowrap"><img src="images/interwiki.png" alt="" class="linkicon" border="0" />Help:</span><span class="wikipage">WikiPlugin</span></a> displays an editbox and two buttons.
The first button let's you choose the file to be uploaded at your local filesystem.
The textvalue of this button is localised from your browser.
The second &quot;Upload&quot; button actually uploads the given filename to the upload directory.
This directory is not browsable, any file there may be accessed by using the &quot;Upload:&quot;
<a href="InterWikiMap.html" class="wiki">InterWikiMap</a> prefix to the given filename. This way you can easily inline uploaded images.
See <a href="http://phpwiki.sourceforge.net/phpwiki/InlineUploadedImages" class="interwiki"><span style="white-space: nowrap"><img src="images/interwiki.png" alt="" class="linkicon" border="0" />PhpWiki:</span><span class="wikipage">InlineUploadedImages</span></a></p>
<h4>Usage:</h4>
<pre class="tightenable top">
     &lt;?plugin UpLoad ?&gt;</pre>
<h3>Plugin Arguments:</h3>
<dl><dt class="tightenable top bottom"><strong>logfile</strong></dt>
<dd class="tightenable top bottom">local path. Default: &quot;phpwiki-upload.log&quot;
The format is currently HTML - a new &lt;tr&gt; row per entry - and not log file syntax.</dd>
<dt class="tightenable top bottom"><strong>autolink</strong></dt>
<dd class="tightenable top bottom">Add the uploaded filename to the list of uploaded files at the page.
Default: true</dd>
<dt class="tightenable top bottom"><strong>page</strong></dt>
<dd class="tightenable top">The page where the uploaded files are publicly listed, if autolink is true.
Default: current page.</dd>
</dl>
<h4>Conflicts:</h4>
<ol><li class="tightenable bottom">The user must be authenticated to be able to upload.</li>
<li class="tightenable top bottom">The filename may not end with certain disallowed extensions, to prevent from abuse.</li>
<li class="tightenable top bottom">MAX_FILE_SITE is configured by the config.ini option MAX_UPLOAD_SIZE, which defaults to 16MB.
Your webserver and php may add another limit.</li>
<li class="tightenable top bottom">Already existing uploaded files are NOT overwritten.</li>
<li class="tightenable top">Certain internal php problems for Windows and MacOSX have been fixed with 1.3.9.</li>
</ol>
<hr />
<h4>Example:</h4>
<div class="plugin tightenable top" id="UpLoadPlugin"><form action="Help/UpLoadPlugin.html?action=dumphtml" enctype="multipart/form-data" method="post">
<div class="wikiaction"><input type="hidden" name="MAX_FILE_SIZE" value="16777216" /><input name="userfile" type="file" size="50" /> <input value="Upload" type="submit" /></div>
</form>
</div>
<hr />
<p class="tightenable bottom"><a href="PhpWikiDocumentation.html" class="wiki">PhpWikiDocumentation</a> <a href="Help/WikiPlugin" class="interwiki"><span style="white-space: nowrap"><img src="images/interwiki.png" alt="" class="linkicon" border="0" />Help:</span><span class="wikipage">WikiPlugin</span></a></p>
</div>

<div id="footer">  <hr class="printer" noshade="noshade" />
<p class="editdate">Owner: &quot;admin&quot;  Last edited on August 14, 2007  7:11 am by &quot;The PhpWiki programming team&quot;</p>
</div>

</div>
<!-- Add your Disclaimer here -->
</body>
</html>
