X-Git-Url: https://git.p6c8.net/jirafeau_mojo42.git/blobdiff_plain/261af8ac3be2c4d9fbdae0f25c036440833d746c..2c7751d5735941e55187be8e34ea987912fcc3f3:/script.php?ds=inline diff --git a/script.php b/script.php index cafd10c..d1719a3 100644 --- a/script.php +++ b/script.php @@ -55,6 +55,7 @@ if ($_SERVER['REQUEST_METHOD'] == "GET" && count ($_GET) == 0)

Scripting interface

This interface permits to script your uploads and downloads.

See source code of this interface to get available calls :)

+

Alternatively, go to this page to download a bash script.


0 && md5 ($key) != $link['key']) { + sleep (2); echo 'Error'; exit; } @@ -238,7 +240,7 @@ elseif (isset ($_GET['lang'])) ?> #!/bin/bash -# This script has been auto-generated by Jirafeau but you can still edit +# This script has been auto-generated by Jirafeau but you can still edit # options below. # Config @@ -468,7 +470,7 @@ elseif (isset ($_GET['init_async'])) $type = ''; if (isset ($_POST['type'])) $type = $_POST['type']; - + $key = ''; if (isset ($_POST['key'])) $key = $_POST['key'];