Lines Matching refs:file_handle
41 $file_handle = fopen($filename, "w");
43 $file_handle = fopen($filename, $file_modes[$mode_counter] );
45 if ( !$file_handle ) {
52 fwrite($file_handle, $csv_field . "\n");
56 fwrite($file_handle, "This is line of text without csv fields\n");
57 fwrite($file_handle, "\n"); // blank line
61 fclose($file_handle);
62 $file_handle = fopen($filename, $file_modes[$mode_counter]);
68 var_dump( fseek($file_handle, 0, SEEK_END) );
73 var_dump( feof($file_handle) );
74 var_dump( fgetcsv($file_handle, 1024) );
76 var_dump( ftell($file_handle) );
77 var_dump( feof($file_handle) );
79 fclose($file_handle);