summaryrefslogtreecommitdiffstats
path: root/application/views/file_plaintext/upload_form.php
blob: a74e5d43429ef6544eda0929d3da2f46e120e023 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
Uploads/pastes are deleted after <?php echo $upload_max_age; ?> days<?php if($small_upload_size > 0): ?> unless they are smaller than <?php echo format_bytes($small_upload_size); ?><?php endif; ?>.
Maximum upload size is <?php echo format_bytes($max_upload_size); ?>.
You can upload a maximum of <?php echo ini_get("max_file_uploads"); ?> files at once.

How to link your uploads:
 - "/<ID>/" automatically highlight the uploads
 - "/<ID>" set the detected MIME type and let the browser do the rest
 - "/<ID>/plain" force the MIME type to be text/plain
 - "/<ID>/<file extension>" override auto detection and use the supplied
   file extension or language name for highlighting
 - "/<ID>/qr" display a qr code containing a link to /<ID>/
 - "/<ID>/rmd" convert markdown to HTML
 - "/<ID>/ascii" convert text with ANSI (shell) escape codes to HTML
 - "/<ID>/info" display some information about the ID

If your upload is not detected as text, only "/<ID>/qr", "/<ID>/plain"
and "/<ID>/info" will work as above and all others will simply return
the file with the detected MIME type.