summaryrefslogtreecommitdiffstats
path: root/system/application
diff options
context:
space:
mode:
authorFlorian Pritz <bluewind@xssn.at>2010-04-18 19:27:44 +0200
committerFlorian Pritz <bluewind@xssn.at>2010-04-18 19:27:44 +0200
commitad945d473ac56385cbf7d37d0e556e3ad4545aa3 (patch)
tree560a81c999412ea610c7aba81ed8e3403d051c08 /system/application
parent4339929d5be9c1d5cf08c1d16ac79b4d3458121a (diff)
rework upload_form view
Signed-off-by: Florian Pritz <bluewind@xssn.at>
Diffstat (limited to 'system/application')
-rw-r--r--system/application/views/file/upload_form.php24
1 files changed, 15 insertions, 9 deletions
diff --git a/system/application/views/file/upload_form.php b/system/application/views/file/upload_form.php
index 081277bde..9d5c5eb9c 100644
--- a/system/application/views/file/upload_form.php
+++ b/system/application/views/file/upload_form.php
@@ -12,21 +12,27 @@
</form>
</div>
<br /><br />
-Uploads/pastes are deleted after 5 days.<br />
+<p>Uploads/pastes are deleted after 5 days.</p>
<br />
-For shell uploading/pasting use:<br />
+<p>For shell uploading/pasting use:</p>
<pre>
-curl -F "content=<-" <?php echo base_url(); ?> < file (not binary safe)
-cat file | curl -F "content=<-" <?php echo base_url(); ?> (not binary safe)
-curl -F "file=@/home/user/foo" <?php echo base_url(); ?> (binary safe)
+curl -n -F "content=<-" <?php echo base_url(); ?> < file (not binary safe)
+cat file | curl -n -F "content=<-" <?php echo base_url(); ?> (not binary safe)
+curl -n -F "file=@/home/user/foo" <?php echo base_url(); ?> (binary safe)
</pre>
<br />
-If you want to you can use my script (needs python and curl) to upload files, paste text or delete your uploads:<br />
-<a href="http://git.server-speed.net/bin/plain/fb">http://git.server-speed.net/bin/plain/fb</a><br />
+<p>If you want to use authentication add the following to your ~/.netrc:
+<pre>
+machine paste.xinu.at password my_secret_password
+</pre>
+</p>
+<br />
+<p>If you want to you can use my script (needs python and curl) to upload files, paste text or delete your uploads:<br />
+<a href="http://git.server-speed.net/bin/plain/fb">http://git.server-speed.net/bin/plain/fb</a></p>
<br />
-If you experience any problems feel free to <a href="http://bluewind.at/?id=1">contact me</a>.<br />
+<p>If you experience any problems feel free to <a href="http://bluewind.at/?id=1">contact me</a>.</p>
<br />
<br />
<div class="small">
- This service is provided without warranty of any kind and may not be used to distribute copyrighted content.
+ <p>This service is provided without warranty of any kind and may not be used to distribute copyrighted content.</p>
</div>