✘✘ GRAYBYTE WORDPRESS FILE MANAGER ✘✘

​🇳​​🇦​​🇲​​🇪♯➤ server366.web-hosting.com ​🇻​♯➤ 4.18.0-553.50.1.lve.el8.x86_64 #1 SMP 🇾​♯➤ 2025

𝗛𝗢𝗠𝗘 𝗜𝗗 ♯➤ 67.223.118.204 ♯➤ 𝗔𝗗𝗠𝗜𝗡 𝗜𝗗 216.73.216.243
𝗢𝗣𝗧𝗜𝗢𝗡𝗦 ♯ CRL ♯➤ 𝗢𝗞 ┃ WGT ♯➤ 𝗢𝗞 ┃ SDO ♯➤ 𝗢𝗙𝗙 ┃ PKEX ♯➤ 𝗢𝗙𝗙
𝗗𝗘𝗔𝗖𝗧𝗜𝗩𝗔𝗧𝗘𝗗 ♯➤ 𝗔𝗟𝗟 𝗪𝗢𝗥𝗞𝗜𝗡𝗚....

𝗛𝗢𝗠𝗘
𝗖𝗨𝗥𝗥𝗘𝗡𝗧 𝗙𝗜𝗟𝗘 : /home/builxejc/public_html/wp-content/plugins/motopress-hotel-booking/includes/csv//csv-file.php
<?php

namespace MPHB\CSV;

class CSVFile {

	protected $filepath  = '';
	protected $mode      = 'w';
	protected $delimeter = ',';

	/**
	 * @var resource|false
	 */
	protected $file = null;

	/**
	 * @param string $file
	 * @param string $mode Optional. "w" by default.
	 *
	 * @since 3.7.0 added new filter - "mphb_csv_file_delimeter".
	 */
	public function __construct( $file, $mode = 'w' ) {

		$this->filepath  = $file;
		$this->mode      = $mode;
		$this->delimeter = apply_filters( 'mphb_csv_file_delimeter', ',' );
	}

	public function __destruct() {

		if ( $this->file !== false ) {
			fclose( $this->file );
		}
	}

	/**
	 * @param array $fields
	 * @return self
	 */
	public function put( $fields ) {

		if ( is_null( $this->file ) ) {
			$this->file = fopen( $this->filepath, $this->mode );
		}

		if ( $this->file !== false ) {
			// It's better to strip keys before calling fputcsv()
			// See https://www.php.net/manual/en/function.fputcsv.php#123807
			fputcsv( $this->file, array_values( $fields ), $this->delimeter );
		}

		return $this;
	}
}


Current_dir [ 𝗪𝗥𝗜𝗧𝗘𝗔𝗕𝗟𝗘 ] Document_root [ 𝗪𝗥𝗜𝗧𝗘𝗔𝗕𝗟𝗘 ]


[ Back ]
𝗡𝗔𝗠𝗘
𝗦𝗜𝗭𝗘
𝗟𝗔𝗦𝗧 𝗧𝗢𝗨𝗖𝗛
𝗨𝗦𝗘𝗥
𝗦𝗧𝗔𝗧𝗨𝗦
𝗙𝗨𝗡𝗖𝗧𝗜𝗢𝗡𝗦
..
--
28 Apr 2026 8.56 AM
builxejc / builxejc
0755
bookings
--
28 Apr 2026 8.56 AM
builxejc / builxejc
0755
.htaccess
0.41 KB
28 Apr 2026 8.56 AM
builxejc / builxejc
0644
csv-export-handler.php
2.045 KB
18 Nov 2024 1.16 PM
builxejc / builxejc
0644
csv-file.php
1.038 KB
18 Nov 2024 1.16 PM
builxejc / builxejc
0644

✘✘ GRAYBYTE WORDPRESS FILE MANAGER @ 2026 CONTACT ME ✘✘
Static GIF Static GIF