Add support of pretty url

This commit is contained in:
Beu
2019-10-23 17:22:25 +02:00
parent f27d42a92a
commit f2ba5a4d7f
3 changed files with 18 additions and 6 deletions

View File

@ -31,12 +31,12 @@ Drag and Drop your file or <input class="button" type="button" value="Select Fil
This tool is usable with <b>curl</b> or <b>wget</b>.<br><br>
To upload : <br>
<li> curl --upload-file ./hello.txt <?php print(_HTTP_PROTO . '://' . _HTTP_DOMAIN . _HTTP_PATH . 'index.php?name=hello.txt');?><br>
<li> wget -q --body-file='./hello.txt' --method=PUT -O - <?php print(_HTTP_PROTO . '://' . _HTTP_DOMAIN . _HTTP_PATH . 'index.php?name=hello.txt');?><br><br>
<li> curl --upload-file ./my_file <?php print($uploadurl);?><br>
<li> wget -q --body-file='./my_file' --method=PUT -O - <?php print($uploadurl);?><br><br>
To download file :<br>
<li> curl -OJ <?php print(_HTTP_PROTO . '://' . _HTTP_DOMAIN . _HTTP_PATH . 'index.php?id=99999');?><br>
<li> wget --content-disposition <?php print(_HTTP_PROTO . '://' . _HTTP_DOMAIN . _HTTP_PATH . 'index.php?id=99999');?>
<li> curl -OJ <?php print($downloadurl . '99999');?><br>
<li> wget --content-disposition <?php print($downloadurl . '99999');?>
</div>
</div>