summaryrefslogtreecommitdiffstats
path: root/application/views/file/client.php
diff options
context:
space:
mode:
Diffstat (limited to 'application/views/file/client.php')
-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>