function
jirafeau_upload ($file, $one_time_download, $key, $time, $ip, $crypt, $link_name_length)
{
function
jirafeau_upload ($file, $one_time_download, $key, $time, $ip, $crypt, $link_name_length)
{
$handle = fopen ($link_tmp_name, 'w');
fwrite ($handle,
$name . NL. $mime_type . NL. $size . NL. $password . NL. $time .
$handle = fopen ($link_tmp_name, 'w');
fwrite ($handle,
$name . NL. $mime_type . NL. $size . NL. $password . NL. $time .
- return (array ('error' => $noerr,
- 'link' => $md5_link,
- 'delete_link' => $delete_link_code,
- 'crypt_key' => $crypt_key));
+ return (array ('error' => $noerr,
+ 'link' => $md5_link,
+ 'delete_link' => $delete_link_code,
+ 'crypt_key' => $crypt_key));
function
jirafeau_async_end ($ref, $code, $crypt, $link_name_length)
{
function
jirafeau_async_end ($ref, $code, $crypt, $link_name_length)
{
$handle = fopen ($link_tmp_name, 'w');
fwrite ($handle,
$a['file_name'] . NL . $a['mime_type'] . NL . $size . NL .
$handle = fopen ($link_tmp_name, 'w');
fwrite ($handle,
$a['file_name'] . NL . $a['mime_type'] . NL . $size . NL .