]> CyberLeo.Net >> Repos - SourceForge/phpwiki.git/blob - pgsrc/Help%2FUpLoadPlugin
Update PHP Doc
[SourceForge/phpwiki.git] / pgsrc / Help%2FUpLoadPlugin
1 Date: Fri,  7 Jan 2011 17:32:57 +0000
2 Mime-Version: 1.0 (Produced by PhpWiki 1.4.0)
3 Content-Type: application/x-phpwiki;
4   pagename=Help%2FUpLoadPlugin;
5   flags=PAGE_LOCKED%2CEXTERNAL_PAGE;
6   charset=UTF-8
7 Content-Transfer-Encoding: binary
8
9 The **~UpLoad** [[Help:WikiPlugin|plugin]] displays an editbox and two buttons.
10 * The first button lets you choose the file to be uploaded at your local filesystem. The textvalue of this button is localised from your browser.
11 * The second "Upload" button actually uploads the given filename to the upload directory.
12 This directory is not browsable, any file there may be accessed by using the "Upload~:"
13 [[InterWikiMap]] prefix to the given filename. This way you can easily inline uploaded images.
14
15 == Usage ==
16
17 {{{
18 <<UpLoad arguments>>
19 }}}
20
21 == Arguments ==
22
23 {| class="bordered"
24 |-
25 ! Argument
26 ! Description
27 ! Default value
28 |-
29 | **logfile**
30 | Local path. The format is currently HTML - a new {{{<tr>}}} row per entry - and not log file syntax.
31 | phpwiki-upload.log
32 |-
33 | **autolink**
34 | Add the uploaded filename to the list of uploaded files at the page.
35 | true
36 |-
37 | **page**
38 | The page where the uploaded files are publicly listed, if autolink is true.
39 | Current page
40 |-
41 | **size**
42 | Size of file input box.
43 | 50
44 |-
45 | **mode**
46 | 'actionpage' or 'edit'
47 | actionpage
48 |}
49
50 == Notes ==
51
52 # The user must be authenticated to be able to upload.
53 # The filename may not end with certain disallowed extensions, to prevent from abuse.
54 # 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.
55 # Already existing uploaded files are NOT overwritten.
56
57 == Example ==
58
59 {{{
60 <<UpLoad>>
61 }}}
62
63 <<UpLoad>>
64
65 == See Also ==
66
67 * [[PhpWiki:InlineUploadedImages]]
68
69 <noinclude>
70 ----
71 [[PhpWikiDocumentation]] [[CategoryWikiPlugin]]
72 </noinclude>