- $c = file ($link);
- $out['file_name'] = trim ($c[0]);
- $out['mime_type'] = trim ($c[1]);
- $out['file_size'] = trim ($c[2]);
- $out['key'] = trim ($c[3], NL);
- $out['time'] = trim ($c[4]);
- $out['md5'] = trim ($c[5]);
- $out['onetime'] = trim ($c[6]);
- $out['upload_date'] = trim ($c[7]);
- $out['ip'] = trim ($c[8]);
- $out['link_code'] = trim ($c[9]);
- $out['crypted'] = trim ($c[10]) == 'C';
+ $c = file($link);
+ $out['file_name'] = trim($c[0]);
+ $out['mime_type'] = trim($c[1]);
+ $out['file_size'] = trim($c[2]);
+ $out['key'] = trim($c[3], NL);
+ $out['time'] = trim($c[4]);
+ $out['md5'] = trim($c[5]);
+ $out['onetime'] = trim($c[6]);
+ $out['upload_date'] = trim($c[7]);
+ $out['ip'] = trim($c[8]);
+ $out['link_code'] = trim($c[9]);
+ $out['crypted'] = trim($c[10]) == 'C';