summaryrefslogtreecommitdiffstats
path: root/system/application/views/file/client.php
diff options
context:
space:
mode:
Diffstat (limited to 'system/application/views/file/client.php')
-rw-r--r--system/application/views/file/client.php9
1 files changed, 6 insertions, 3 deletions
diff --git a/system/application/views/file/client.php b/system/application/views/file/client.php
index d9470a216..0ebc20791 100644
--- a/system/application/views/file/client.php
+++ b/system/application/views/file/client.php
@@ -1,8 +1,11 @@
<p><b>Shell:</b></p>
<pre>
-curl -n -F "content=&lt;-" <?php echo base_url(); ?> &lt; file (not binary safe)
-cat file | curl -n -F "content=&lt;-" <?php echo base_url(); ?> (not binary safe)
-curl -n -F "file=@/home/user/foo" <?php echo base_url(); ?> (binary safe)
+<?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>
<p><b>Client:</b><br />
<p>Development (git): <a href="http://git.server-speed.net/users/flo/fb/">http://git.server-speed.net/users/flo/fb/</a><br />