diff options
Diffstat (limited to 'application/views/file')
-rw-r--r-- | application/views/file/client.php | 4 |
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=<-" <?php echo site_url(); ?> < file (not binary safe) -cat file | curl -n -F "content=<-" <?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> |