Lines Matching refs:fp
320 $fp = @fopen($to.$header['filename'], 'wb');
321 if(!$fp) return(-1);
329 @fwrite($fp, $binary_data, $read_size);
332 fclose($fp);
337 $fp = fopen($to.$header['filename'].'.gz','wb');
338 if(!$fp) return(-1);
342 fwrite($fp, $binary_data, 10);
350 @fwrite($fp, $binary_data, $read_size);
355 fwrite($fp, $binary_data,8); fclose($fp);
362 $fp = @fopen($to.$header['filename'],'wb');
363 if(!$fp) return(-1);
371 @fwrite($fp, $binary_data, $read_size);
374 fclose($fp); gzclose($gzp);