$46 GRAYBYTE WORDPRESS FILE MANAGER $36

SERVER : vnpttt-amd7f72-h1.vietnix.vn #1 SMP Fri May 24 12:42:50 UTC 2024
SERVER IP : 103.200.23.149 | ADMIN IP 216.73.216.22
OPTIONS : CRL = ON | WGT = ON | SDO = OFF | PKEX = OFF
DEACTIVATED : NONE

/opt/alt/php84/usr/include/php/ext/standard/

HOME
Current File : /opt/alt/php84/usr/include/php/ext/standard//file.h
/*
   +----------------------------------------------------------------------+
   | Copyright (c) The PHP Group                                          |
   +----------------------------------------------------------------------+
   | This source file is subject to version 3.01 of the PHP license,      |
   | that is bundled with this package in the file LICENSE, and is        |
   | available through the world-wide-web at the following url:           |
   | https://www.php.net/license/3_01.txt                                 |
   | If you did not receive a copy of the PHP license and are unable to   |
   | obtain it through the world-wide-web, please send a note to          |
   | license@php.net so we can mail you a copy immediately.               |
   +----------------------------------------------------------------------+
   | Author: Rasmus Lerdorf <rasmus@lerdorf.on.ca>                        |
   +----------------------------------------------------------------------+
*/

#ifndef FILE_H
#define FILE_H

#include "php_network.h"

PHP_MINIT_FUNCTION(file);
PHP_MSHUTDOWN_FUNCTION(file);

PHPAPI PHP_FUNCTION(fclose);
PHPAPI PHP_FUNCTION(feof);
PHPAPI PHP_FUNCTION(fread);
PHPAPI PHP_FUNCTION(fgetc);
PHPAPI PHP_FUNCTION(fgets);
PHPAPI PHP_FUNCTION(fwrite);
PHPAPI PHP_FUNCTION(fflush);
PHPAPI PHP_FUNCTION(rewind);
PHPAPI PHP_FUNCTION(ftell);
PHPAPI PHP_FUNCTION(fseek);
PHPAPI PHP_FUNCTION(fpassthru);

PHP_MINIT_FUNCTION(user_streams);

PHPAPI int php_le_stream_context(void);
PHPAPI zend_result php_copy_file(const char *src, const char *dest);
PHPAPI zend_result php_copy_file_ex(const char *src, const char *dest, int src_flags);
PHPAPI zend_result php_copy_file_ctx(const char *src, const char *dest, int src_flags, php_stream_context *ctx);
PHPAPI void php_fstat(php_stream *stream, zval *return_value);
PHPAPI void php_flock_common(php_stream *stream, zend_long operation, uint32_t operation_arg_num,
	zval *wouldblock, zval *return_value);

#define PHP_CSV_NO_ESCAPE EOF
#define PHP_CSV_ESCAPE_ERROR -500

PHPAPI HashTable *php_bc_fgetcsv_empty_line(void);
PHPAPI int php_csv_handle_escape_argument(const zend_string *escape_str, uint32_t arg_num);
PHPAPI HashTable *php_fgetcsv(php_stream *stream, char delimiter, char enclosure, int escape_char, size_t buf_len, char *buf);
PHPAPI ssize_t php_fputcsv(php_stream *stream, zval *fields, char delimiter, char enclosure, int escape_char, zend_string *eol_str);

#define META_DEF_BUFSIZE 8192

#define PHP_FILE_USE_INCLUDE_PATH (1 << 0)
#define PHP_FILE_IGNORE_NEW_LINES (1 << 1)
#define PHP_FILE_SKIP_EMPTY_LINES (1 << 2)
#define PHP_FILE_APPEND (1 << 3)
#define PHP_FILE_NO_DEFAULT_CONTEXT (1 << 4)

#ifndef _WIN32
#define PHP_TIMEOUT_ULL_MAX ULLONG_MAX
#else
#define PHP_TIMEOUT_ULL_MAX UINT64_MAX
#endif

typedef enum _php_meta_tags_token {
	TOK_EOF = 0,
	TOK_OPENTAG,
	TOK_CLOSETAG,
	TOK_SLASH,
	TOK_EQUAL,
	TOK_SPACE,
	TOK_ID,
	TOK_STRING,
	TOK_OTHER
} php_meta_tags_token;

typedef struct _php_meta_tags_data {
	php_stream *stream;
	int ulc;
	int lc;
	char *input_buffer;
	char *token_data;
	int token_len;
	int in_meta;
} php_meta_tags_data;

php_meta_tags_token php_next_meta_token(php_meta_tags_data *);

typedef struct {
	int pclose_ret;
	size_t def_chunk_size;
	bool auto_detect_line_endings;
	zend_long default_socket_timeout;
	char *user_agent; /* for the http wrapper */
	char *from_address; /* for the ftp and http wrappers */
	const char *user_stream_current_filename; /* for simple recursion protection */
	php_stream_context *default_context;
	HashTable *stream_wrappers;			/* per-request copy of url_stream_wrappers_hash */
	HashTable *stream_filters;			/* per-request copy of stream_filters_hash */
	HashTable *wrapper_errors;			/* key: wrapper address; value: linked list of char* */
	int pclose_wait;
#ifdef HAVE_GETHOSTBYNAME_R
	struct hostent tmp_host_info;
	char *tmp_host_buf;
	size_t tmp_host_buf_len;
#endif
} php_file_globals;

#ifdef ZTS
#define FG(v) ZEND_TSRMG(file_globals_id, php_file_globals *, v)
extern PHPAPI int file_globals_id;
#else
#define FG(v) (file_globals.v)
extern PHPAPI php_file_globals file_globals;
#endif


#endif /* FILE_H */

Current_dir [ NOT WRITEABLE ] Document_root [ WRITEABLE ]


[ Back ]
NAME
SIZE
LAST TOUCH
USER
CAN-I?
FUNCTIONS
..
--
21 Nov 2025 2.30 AM
root / 996
0755
base64.h
3.919 KB
21 Nov 2025 2.31 AM
root / 996
0644
basic_functions.h
4.463 KB
21 Nov 2025 2.31 AM
root / 996
0644
basic_functions_arginfo.h
170.537 KB
21 Nov 2025 2.31 AM
root / 996
0644
crc32.h
4.801 KB
21 Nov 2025 2.31 AM
root / 996
0644
crc32_x86.h
1.838 KB
21 Nov 2025 2.31 AM
root / 996
0644
credits.h
1.525 KB
21 Nov 2025 2.31 AM
root / 996
0644
credits_ext.h
4.967 KB
21 Nov 2025 2.31 AM
root / 996
0644
credits_sapi.h
0.812 KB
21 Nov 2025 2.31 AM
root / 996
0644
crypt_blowfish.h
0.771 KB
21 Nov 2025 2.31 AM
root / 996
0644
crypt_freesec.h
0.57 KB
21 Nov 2025 2.31 AM
root / 996
0644
css.h
1.045 KB
21 Nov 2025 2.31 AM
root / 996
0644
datetime.h
1.145 KB
21 Nov 2025 2.31 AM
root / 996
0644
dir_arginfo.h
3.501 KB
21 Nov 2025 2.31 AM
root / 996
0644
dl.h
1.462 KB
21 Nov 2025 2.31 AM
root / 996
0644
dl_arginfo.h
0.264 KB
21 Nov 2025 2.31 AM
root / 996
0644
exec.h
1.307 KB
21 Nov 2025 2.31 AM
root / 996
0644
file.h
4.06 KB
21 Nov 2025 2.31 AM
root / 996
0644
file_arginfo.h
8.409 KB
21 Nov 2025 2.31 AM
root / 996
0644
flock_compat.h
1.858 KB
21 Nov 2025 2.31 AM
root / 996
0644
fsock.h
1.218 KB
21 Nov 2025 2.31 AM
root / 996
0644
head.h
1.529 KB
21 Nov 2025 2.31 AM
root / 996
0644
html.h
2.362 KB
21 Nov 2025 2.31 AM
root / 996
0644
html_tables.h
472.263 KB
21 Nov 2025 2.31 AM
root / 996
0644
info.h
22.885 KB
21 Nov 2025 2.31 AM
root / 996
0644
md5.h
1.975 KB
21 Nov 2025 2.31 AM
root / 996
0644
pack.h
1.048 KB
21 Nov 2025 2.31 AM
root / 996
0644
pageinfo.h
1.152 KB
21 Nov 2025 2.31 AM
root / 996
0644
password_arginfo.h
1.178 KB
21 Nov 2025 2.31 AM
root / 996
0644
php_array.h
2.798 KB
21 Nov 2025 2.31 AM
root / 996
0644
php_assert.h
1.35 KB
21 Nov 2025 2.31 AM
root / 996
0644
php_browscap.h
1.108 KB
21 Nov 2025 2.31 AM
root / 996
0644
php_crypt.h
1.458 KB
21 Nov 2025 2.31 AM
root / 996
0644
php_crypt_r.h
1.64 KB
21 Nov 2025 2.31 AM
root / 996
0644
php_dir.h
1.212 KB
21 Nov 2025 2.31 AM
root / 996
0644
php_dir_int.h
1.82 KB
21 Nov 2025 2.31 AM
root / 996
0644
php_dns.h
3.567 KB
21 Nov 2025 2.31 AM
root / 996
0644
php_ext_syslog.h
1.165 KB
21 Nov 2025 2.31 AM
root / 996
0644
php_filestat.h
2.104 KB
21 Nov 2025 2.31 AM
root / 996
0644
php_fopen_wrappers.h
1.794 KB
21 Nov 2025 2.31 AM
root / 996
0644
php_http.h
1.317 KB
21 Nov 2025 2.31 AM
root / 996
0644
php_image.h
2.122 KB
21 Nov 2025 2.31 AM
root / 996
0644
php_incomplete_class.h
2.15 KB
21 Nov 2025 2.31 AM
root / 996
0644
php_mail.h
1.251 KB
21 Nov 2025 2.31 AM
root / 996
0644
php_math.h
3.306 KB
21 Nov 2025 2.31 AM
root / 996
0644
php_math_round_mode.h
1.93 KB
21 Nov 2025 2.31 AM
root / 996
0644
php_net.h
1.136 KB
21 Nov 2025 2.31 AM
root / 996
0644
php_password.h
2.811 KB
21 Nov 2025 2.31 AM
root / 996
0644
php_smart_string.h
1.134 KB
21 Nov 2025 2.31 AM
root / 996
0644
php_smart_string_public.h
1.141 KB
21 Nov 2025 2.31 AM
root / 996
0644
php_standard.h
1.848 KB
21 Nov 2025 2.31 AM
root / 996
0644
php_string.h
3.849 KB
21 Nov 2025 2.31 AM
root / 996
0644
php_uuencode.h
1.177 KB
21 Nov 2025 2.31 AM
root / 996
0644
php_var.h
3.415 KB
21 Nov 2025 2.31 AM
root / 996
0644
php_versioning.h
1.183 KB
21 Nov 2025 2.31 AM
root / 996
0644
proc_open.h
1.896 KB
21 Nov 2025 2.31 AM
root / 996
0644
quot_print.h
1.226 KB
21 Nov 2025 2.31 AM
root / 996
0644
scanf.h
1.95 KB
21 Nov 2025 2.31 AM
root / 996
0644
sha1.h
1.582 KB
21 Nov 2025 2.31 AM
root / 996
0644
streamsfuncs.h
1.11 KB
21 Nov 2025 2.31 AM
root / 996
0644
url.h
2.021 KB
21 Nov 2025 2.31 AM
root / 996
0644
url_scanner_ex.h
2.367 KB
21 Nov 2025 2.31 AM
root / 996
0644
user_filters_arginfo.h
4.785 KB
21 Nov 2025 2.31 AM
root / 996
0644

GRAYBYTE WORDPRESS FILE MANAGER @ 2026 CONTACT ME
Static GIF