php-internal-docs 8.4.8
Unofficial docs for php/php-src
Loading...
Searching...
No Matches
fopen_wrappers.c File Reference
#include "php.h"
#include "php_globals.h"
#include "SAPI.h"
#include <stdio.h>
#include <stdlib.h>
#include <errno.h>
#include <sys/types.h>
#include <sys/stat.h>
#include <fcntl.h>
#include <sys/param.h>
#include "ext/standard/head.h"
#include "ext/standard/php_standard.h"
#include "zend_compile.h"
#include "php_network.h"
#include "zend_smart_str.h"
#include <netinet/in.h>
#include <netdb.h>

Go to the source code of this file.

Functions

PHPAPI ZEND_INI_MH (OnUpdateBaseDir)
 
PHPAPI int php_check_specific_open_basedir (const char *basedir, const char *path)
 
PHPAPI int php_check_open_basedir (const char *path)
 
PHPAPI int php_check_open_basedir_ex (const char *path, int warn)
 
PHPAPI int php_fopen_primary_script (zend_file_handle *file_handle)
 
PHPAPI zend_stringphp_resolve_path (const char *filename, size_t filename_length, const char *path)
 
PHPAPI FILE * php_fopen_with_path (const char *filename, const char *mode, const char *path, zend_string **opened_path)
 
PHPAPI char * php_strip_url_passwd (char *url)
 
PHPAPI char * expand_filepath (const char *filepath, char *real_path)
 
PHPAPI char * expand_filepath_ex (const char *filepath, char *real_path, const char *relative_to, size_t relative_to_len)
 
PHPAPI char * expand_filepath_with_mode (const char *filepath, char *real_path, const char *relative_to, size_t relative_to_len, int realpath_mode)
 

Function Documentation

◆ expand_filepath()

PHPAPI char * expand_filepath ( const char * filepath,
char * real_path )

Definition at line 773 of file fopen_wrappers.c.

◆ expand_filepath_ex()

PHPAPI char * expand_filepath_ex ( const char * filepath,
char * real_path,
const char * relative_to,
size_t relative_to_len )

Definition at line 780 of file fopen_wrappers.c.

◆ expand_filepath_with_mode()

PHPAPI char * expand_filepath_with_mode ( const char * filepath,
char * real_path,
const char * relative_to,
size_t relative_to_len,
int realpath_mode )

Definition at line 787 of file fopen_wrappers.c.

◆ php_check_open_basedir()

PHPAPI int php_check_open_basedir ( const char * path)

Definition at line 285 of file fopen_wrappers.c.

◆ php_check_open_basedir_ex()

PHPAPI int php_check_open_basedir_ex ( const char * path,
int warn )

Definition at line 291 of file fopen_wrappers.c.

◆ php_check_specific_open_basedir()

PHPAPI int php_check_specific_open_basedir ( const char * basedir,
const char * path )

Definition at line 142 of file fopen_wrappers.c.

◆ php_fopen_primary_script()

PHPAPI int php_fopen_primary_script ( zend_file_handle * file_handle)

Definition at line 360 of file fopen_wrappers.c.

◆ php_fopen_with_path()

PHPAPI FILE * php_fopen_with_path ( const char * filename,
const char * mode,
const char * path,
zend_string ** opened_path )

Definition at line 653 of file fopen_wrappers.c.

◆ php_resolve_path()

PHPAPI zend_string * php_resolve_path ( const char * filename,
size_t filename_length,
const char * path )

Definition at line 500 of file fopen_wrappers.c.

◆ php_strip_url_passwd()

PHPAPI char * php_strip_url_passwd ( char * url)

Definition at line 734 of file fopen_wrappers.c.

◆ ZEND_INI_MH()

PHPAPI ZEND_INI_MH ( OnUpdateBaseDir )

Definition at line 74 of file fopen_wrappers.c.