PHP itself has two limits on file uploads (usually located in /etc/php.ini). The first is the after not finding <IfModule mod_php4.c> php_value upload_max_filesize 8M </IfModule> overtones99? July 10, 2008, at 03:19 AM QIs it possible to eliminate the “Name attachment as:” box so the uploaded file uses the same filename and the selected file? GNUZoo? Yes. Put the following code into you config.php file: $PageUploadFmt = array(" <div id='wikiupload'> <h2 class='wikiaction'>$[Attachments for] {\$FullName}</h2> <h3>\$UploadResult</h3> <form enctype='multipart/form-data' action='{\$PageUrl}' method='post'> <input type='hidden' name='n' value='{\$FullName}' /> <input type='hidden' name='action' value='postupload' /> <table border='0'> <tr><td align='right'>$[File to upload:]</td><td><input name='uploadfile' type='file' /><input type='submit' value='Upload' /></td></tr></table></form></div>", 'wiki:$[{$SiteGroup}/UploadQuickReference]'); QIn my lan-only pmwiki, how can I authorize ANY upload, without any size nor type checking? At the moment, I force my lan-only fully-trusted users to use a container such as .tar… Mhhh… Not that nice.
Q How do I disable the upload file files with no extension?
This is a talk page for improving PmWiki.UploadsAdmin. |