summaryrefslogtreecommitdiffstats
path: root/application/views/file
diff options
context:
space:
mode:
authorFlorian Pritz <bluewind@xinu.at>2011-08-19 21:10:40 +0200
committerFlorian Pritz <bluewind@xinu.at>2011-08-19 21:10:40 +0200
commit514c22a698cc44291990e78704bf27387f299ab6 (patch)
tree87ca32386ab227fa2b20124cbdb48720442b1ead /application/views/file
parent1f156ef274c6a64d2c0d444ebb74315a51600a05 (diff)
remove old upload snippets
Signed-off-by: Florian Pritz <bluewind@xinu.at>
Diffstat (limited to 'application/views/file')
-rw-r--r--application/views/file/client.php4
1 files changed, 0 insertions, 4 deletions
diff --git a/application/views/file/client.php b/application/views/file/client.php
index 8703d4aee..2c4491542 100644
--- a/application/views/file/client.php
+++ b/application/views/file/client.php
@@ -1,9 +1,5 @@
<p><b>Shell:</b></p>
<pre>
-<?php if(false): ?>
->curl -n -F "content=&lt;-" <?php echo site_url(); ?> &lt; file (not binary safe)
-cat file | curl -n -F "content=&lt;-" <?php echo site_url(); ?> (not binary safe)
-<?php endif; ?>
curl -n -F "file=@/home/user/foo" <?php echo site_url(); ?> (binary safe)
cat file | curl -n -F "file=@-;filename=stdin" <?php echo site_url(); ?> (binary safe)
</pre>