Lines Matching refs:file
3 function shutdown_clean($file) {
4 if ($file) {
5 unlink($file);
27 $file = create_standard_csv(1, false);
28 if (!$file) {
30 return "Cannot create CSV file";
37 mysqli_real_escape_string($link, $file),
51 // create a CVS file
52 $file = tempnam(sys_get_temp_dir(), 'mysqli_test');
53 if (!$fp = fopen($file, 'w')) {
55 printf("[%03d + 1] Cannot create CVS file '%s'\n", $offset, $file);
59 register_shutdown_function("shutdown_clean", $file);
66 printf("[%03d + 3] Cannot write CVS file '%s'\n", $offset, $file);
72 if (!chmod($file, 0644)) {
74 …printf("[%03d + 4] Cannot change the file perms of '%s' from 0600 to 0644, MySQL might not be able…
75 $offset, $file);
78 return $file;
81 function try_handler($offset, $link, $file, $handler, $expected = null) {
100 mysqli_real_escape_string($link, $file)))) {