Searched refs:open_basedir (Results 1 - 18 of 18) sorted by relevance

/PHP_TRUNK/ext/curl/
H A Dinterface.c195 /* Disable file:// if open_basedir are used */
196 if (PG(open_basedir) && *PG(open_basedir)) {
2154 (PG(open_basedir) && *PG(open_basedir)) && (Z_LVAL_P(zvalue) & CURLPROTO_FILE)) {
2155 php_error_docref(NULL TSRMLS_CC, E_WARNING, "CURLPROTO_FILE cannot be activated when an open_basedir is set");
2441 if (PG(open_basedir) && *PG(open_basedir)) {
2443 php_error_docref(NULL TSRMLS_CC, E_WARNING, "CURLOPT_FOLLOWLOCATION cannot be activated when an open_basedir is set");
2545 /* open_basedir chec
[all...]
/PHP_TRUNK/ext/mysql/
H A Dphp_mysql.c807 /* disable local infile option for open_basedir */
809 if (((PG(open_basedir) && PG(open_basedir)[0] != '\0') || PG(safe_mode)) && (client_flags & CLIENT_LOCAL_FILES)) {
811 if ((PG(open_basedir) && PG(open_basedir)[0] != '\0') && (client_flags & CLIENT_LOCAL_FILES)) {
/PHP_TRUNK/ext/mysqli/
H A Dmysqli_api.c1775 if ((PG(open_basedir) && PG(open_basedir)[0] != '\0') || PG(safe_mode)) {
1777 if (PG(open_basedir) && PG(open_basedir)[0] != '\0') {
H A Dmysqli_nonapi.c121 if (PG(open_basedir) && PG(open_basedir)[0] != '\0') {
/PHP_TRUNK/ext/mysqlnd/
H A Dmysqlnd.c742 if (PG(open_basedir) && strlen(PG(open_basedir))) {
H A Dmysqlnd_loaddata.c44 /* check open_basedir */
45 if (PG(open_basedir)) {
47 strcpy(info->error_msg, "open_basedir restriction in effect. Unable to open file");
/PHP_TRUNK/ext/pdo_sqlite/
H A Dsqlite_driver.c808 "open_basedir prohibits opening %s",
821 if (PG(open_basedir) && *PG(open_basedir)) {
/PHP_TRUNK/ext/session/
H A Dmod_files.c153 if(PG(open_basedir) && lstat(buf, &sbuf) == 0 && S_ISLNK(sbuf.st_mode) && php_check_open_basedir(buf TSRMLS_CC)) {
H A Dsession.c653 /* Only do the safemode/open_basedir check at runtime */
672 if (PG(open_basedir) && *p && php_check_open_basedir(p TSRMLS_CC)) {
/PHP_TRUNK/ext/soap/
H A Dsoap.c489 /* Only do the open_basedir check at runtime */
508 if (PG(open_basedir) && *p && php_check_open_basedir(p TSRMLS_CC)) {
/PHP_TRUNK/ext/sqlite3/
H A Dsqlite3.c141 zend_throw_exception_ex(zend_exception_get_default(TSRMLS_C), 0 TSRMLS_CC, "open_basedir prohibits opening %s", fullpath);
173 if (PG(safe_mode) || (PG(open_basedir) && *PG(open_basedir))) {
175 if (PG(open_basedir) && *PG(open_basedir)) {
/PHP_TRUNK/ext/standard/
H A Dbasic_functions.c5336 if (PG(open_basedir)) {
H A Ddir.c502 if (PG(open_basedir) && *PG(open_basedir)) {
514 if (PG(open_basedir) && *PG(open_basedir)) {
/PHP_TRUNK/main/
H A Dfopen_wrappers.c82 Allows any change to open_basedir setting in during Startup and Shutdown events,
103 /* open_basedir not set yet, go ahead and give it a value */
108 /* Shortcut: When we have a open_basedir and someone tries to unset, we know it'll fail */
113 /* Is the proposed open_basedir at least as restrictive as the current setting? */
122 /* At least one portion of this open_basedir is less restrictive than the prior one, FAIL */
138 When open_basedir is not NULL, check if the given filename is located in
139 open_basedir. Returns -1 if error or not in the open_basedir, else 0.
140 When open_basedir is NULL, always return 0.
206 /* none of the path components exist. definitely not in open_basedir
[all...]
H A Dmain.c464 /* Only do the safemode/open_basedir check at runtime */
466 if (PG(open_basedir) && php_check_open_basedir(new_value->val TSRMLS_CC)) {
479 /* Only do the safemode/open_basedir check at runtime */
481 if (PG(open_basedir) && php_check_open_basedir(new_value->val TSRMLS_CC)) {
577 STD_PHP_INI_ENTRY("open_basedir", NULL, PHP_INI_ALL, OnUpdateBaseDir, open_basedir, php_core_globals, core_globals)
1628 /* Disable realpath cache if an open_basedir is set */
1629 if (PG(open_basedir) && *PG(open_basedir)) {
2249 /* Disable realpath cache if an open_basedir i
[all...]
H A Dphp_globals.h85 char *open_basedir; member in struct:_php_core_globals
H A Dphp_ini.c385 char *open_basedir; local
398 open_basedir = PG(open_basedir);
533 PG(open_basedir) = NULL;
585 PG(open_basedir) = open_basedir;
/PHP_TRUNK/win32/build/
H A DMakefile142 "$(BUILD_DIR)\php.exe" -d open_basedir= -d output_buffering=0 run-tests.php $(TESTS) -p "$(BUILD_DIR)\php.exe"

Completed in 53 milliseconds