require (JIRAFEAU_ROOT . 'lib/settings.php');\r
require (JIRAFEAU_ROOT . 'lib/functions.php');\r
require (JIRAFEAU_ROOT . 'lib/lang.php');\r
require (JIRAFEAU_ROOT . 'lib/settings.php');\r
require (JIRAFEAU_ROOT . 'lib/functions.php');\r
require (JIRAFEAU_ROOT . 'lib/lang.php');\r
if ($_SERVER['REQUEST_METHOD'] == "GET" && count ($_GET) == 0)\r
{\r
require (JIRAFEAU_ROOT . 'lib/template/header.php');\r
if ($_SERVER['REQUEST_METHOD'] == "GET" && count ($_GET) == 0)\r
{\r
require (JIRAFEAU_ROOT . 'lib/template/header.php');\r
echo "<b>time=</b>[minute|hour|day|week|month|none]<i> (" . t('Optional') . ', '. t('default: none') . ")</i> <br />";\r
echo "<b>password=</b>your_password<i> (" . t('Optional') . ")</i> <br />";\r
echo "<b>one_time_download=</b>1<i> (" . t('Optional') . ")</i> <br />";\r
echo "<b>time=</b>[minute|hour|day|week|month|none]<i> (" . t('Optional') . ', '. t('default: none') . ")</i> <br />";\r
echo "<b>password=</b>your_password<i> (" . t('Optional') . ")</i> <br />";\r
echo "<b>one_time_download=</b>1<i> (" . t('Optional') . ")</i> <br />";\r
echo '</p>';\r
echo '<p>' . t('This will return brut text content.') . ' ' .\r
t('First line is the download reference and the second line the delete code.') . '<br /></p>';\r
echo '</p>';\r
echo '<p>' . t('This will return brut text content.') . ' ' .\r
t('First line is the download reference and the second line the delete code.') . '<br /></p>';\r
echo '<p>';\r
echo t('The goal is to permit to transfert big file, chunk by chunk.') . ' ';\r
echo t('Chunks of data must be sent in order.');\r
echo '<p>';\r
echo t('The goal is to permit to transfert big file, chunk by chunk.') . ' ';\r
echo t('Chunks of data must be sent in order.');\r
echo "<b>time=</b>[minute|hour|day|week|month|none]<i> (" . t('Optional') . ', '. t('default: none') . ")</i> <br />";\r
echo "<b>password=</b>your_password<i> (" . t('Optional') . ")</i> <br />";\r
echo "<b>one_time_download=</b>1<i> (" . t('Optional') . ")</i> <br />";\r
echo "<b>time=</b>[minute|hour|day|week|month|none]<i> (" . t('Optional') . ', '. t('default: none') . ")</i> <br />";\r
echo "<b>password=</b>your_password<i> (" . t('Optional') . ")</i> <br />";\r
echo "<b>one_time_download=</b>1<i> (" . t('Optional') . ")</i> <br />";\r
echo '</p>';\r
echo '<p>' . t('This will return brut text content.') . ' ' .\r
t('First line is the asynchronous transfert reference and the second line the code to use in the next operation.') . '<br /></p>';\r
echo '</p>';\r
echo '<p>' . t('This will return brut text content.') . ' ' .\r
t('First line is the asynchronous transfert reference and the second line the code to use in the next operation.') . '<br /></p>';\r
}\r
$res = jirafeau_upload ($_FILES['file'],\r
isset ($_POST['one_time_download']),\r
}\r
$res = jirafeau_upload ($_FILES['file'],\r
isset ($_POST['one_time_download']),\r
- $key, $time, $_SERVER['REMOTE_ADDR']);\r
+ $key, $time, $_SERVER['REMOTE_ADDR'],\r
+ $cfg['enable_crypt'], $cfg['link_name_lenght']);\r