教学文库网 - 权威文档分享云平台
您的当前位置:首页 > 精品文档 > 实用模板 >

软件著作权范本(6)

来源:网络收集 时间:2026-08-28
导读: 天一博胜企业管理软件V1.0 源代码 #include \#include \#ifdef PHP_WIN32 #include #include \#include \#endif #include \ #include \#if PHP_SIGCHILD #include #include #endif #include \#include \#include \#

天一博胜企业管理软件V1.0 源代码 #include \#include \#ifdef PHP_WIN32 #include

#include \#include \#endif

#include \

#include \#if PHP_SIGCHILD #include #include #endif

#include \#include \#include \#include \#include \#include \

#include \#include \#include \#include \

#include \#include \#include \/* }}} */ #ifndef ZTS

php_core_globals core_globals; #else

PHPAPI int core_globals_id; #endif

#define SAFE_FILENAME(f) ((f)?(f):\/* {{{ PHP_INI_MH */

static PHP_INI_MH(OnSetPrecision) { }

static PHP_INI_MH(OnChangeMemoryLimit) {

if (new_value) { }

PG(memory_limit) = zend_atoi(new_value, new_value_length); PG(memory_limit) = 1<<30;

/* effectively, no limit */

} else {

int i = atoi(new_value); if (i >= 0) { }

EG(precision) = i; return SUCCESS; return FAILURE;

16

} else {

天一博胜企业管理软件V1.0 源代码 }

static void php_disable_functions(TSRMLS_D) { }

static void php_disable_classes(TSRMLS_D) {

char *s = NULL, *e;

if (!*(INI_STR(\ }

e = PG(disable_classes) = strdup(INI_STR(\while (*e) {

switch (*e) {

case ' ': case ',':

if (s) { } break; if (!s) { }

s = e; *e = '\\0';

zend_disable_class(s, e-s TSRMLS_CC); s = NULL;

return; char *s = NULL, *e;

if (!*(INI_STR(\ }

e = PG(disable_functions) = strdup(INI_STR(\while (*e) { } if (s) { }

zend_disable_function(s, e-s TSRMLS_CC); switch (*e) { } e++;

case ' ': case ',':

if (s) { } break; if (!s) { } break;

s = e; *e = '\\0';

zend_disable_function(s, e-s TSRMLS_CC); s = NULL;

return;

return zend_set_memory_limit(PG(memory_limit));

17

default:

default:

天一博胜企业管理软件V1.0 源代码 }

static PHP_INI_MH(OnUpdateTimeout) { }

static int php_get_display_errors_mode(char *value, int value_length) { }

static PHP_INI_MH(OnUpdateDisplayErrors) { }

static PHP_INI_DISP(display_errors_mode) {

int mode, tmp_value_length, cgi_or_cli; char *tmp_value;

PG(display_errors) = (zend_bool) php_get_display_errors_mode(new_value, new_value_length); return SUCCESS; int mode; if (!value) { }

if (value_length == 2 && !strcasecmp(\ }

return mode;

mode = PHP_DISPLAY_ERRORS_STDOUT; mode = PHP_DISPLAY_ERRORS_STDOUT; mode = PHP_DISPLAY_ERRORS_STDOUT; mode = PHP_DISPLAY_ERRORS_STDERR; mode = PHP_DISPLAY_ERRORS_STDOUT; mode = atoi(value);

if (mode && mode != PHP_DISPLAY_ERRORS_STDOUT && mode != PHP_DISPLAY_ERRORS_STDERR) { }

mode = PHP_DISPLAY_ERRORS_STDOUT;

} else if (value_length == 3 && !strcasecmp(\} else if (value_length == 4 && !strcasecmp(\} else if (value_length == 6 && !strcasecmp(value, \} else if (value_length == 6 && !strcasecmp(value, \} else {

return PHP_DISPLAY_ERRORS_STDOUT; EG(timeout_seconds) = atoi(new_value); if (stage==PHP_INI_STAGE_STARTUP) { }

zend_unset_timeout(TSRMLS_C); zend_set_timeout(EG(timeout_seconds)); return SUCCESS;

/* Don't set a timeout on startup, only per-request */ return SUCCESS; } if (s) { }

zend_disable_class(s, e-s TSRMLS_CC); } e++;

break;

18

天一博胜企业管理软件V1.0 源代码 }

static PHP_INI_MH(OnUpdateErrorLog) { }

static PHP_INI_MH(OnChangeMailForceExtra) {

/* Don't allow changing it in htaccess */ if (stage == PHP_INI_STAGE_HTACCESS) {

/* Only do the safemode/open_basedir check at runtime */

if ((stage == PHP_INI_STAGE_RUNTIME || stage == PHP_INI_STAGE_HTACCESS) && }

OnUpdateString(entry, new_value, new_value_length, mh_arg1, mh_arg2, mh_arg3, stage TSRMLS_CC); return SUCCESS;

strcmp(new_value, \

if (PG(safe_mode) && (!php_checkuid(new_value, NULL, CHECKUID_CHECK_FILE_AND_DIR))) { }

if (PG(open_basedir) && php_check_open_basedir(new_value TSRMLS_CC)) { }

return FAILURE; return FAILURE;

TSRMLS_FETCH();

if (type == ZEND_INI_DISPLAY_ORIG && ini_entry->modified) { }

mode = php_get_display_errors_mode(tmp_value, tmp_value_length);

cgi_or_cli = (!strcmp(sapi_module.name, \switch (mode) { }

case PHP_DISPLAY_ERRORS_STDERR:

if (cgi_or_cli ) { } break;

if (cgi_or_cli ) { } break; PUTS(\break;

PUTS(\PUTS(\} else {

PUTS(\PUTS(\} else {

tmp_value = (ini_entry->orig_value ? ini_entry->orig_value : NULL ); tmp_value_length = ini_entry->orig_value_length; tmp_value = ini_entry->value;

tmp_value_length = ini_entry->value_length; tmp_value = NULL; tmp_value_length = 0;

19

} else if (ini_entry->value) {

} else {

case PHP_DISPLAY_ERRORS_STDOUT:

default:

天一博胜企业管理软件V1.0 源代码 }

#ifndef PHP_SAFE_MODE_EXEC_DIR #

define PHP_SAFE_MODE_EXEC_DIR \#endif

#if defined(PHP_PROG_SENDMAIL) && !defined(NETWARE) # # #else #

define DEFAULT_SENDMAIL_PATH \ #endif

PHPAPI void php_log_err(char *log_message TSRMLS_DC) { }

PHPAPI int php_write(void *buf, uint size TSRMLS_DC) {

int fd = -1;

char error_time_str[128]; struct tm tmbuf; time_t error_time;

/* Try to use the specified logging location. */ if (PG(error_log) != NULL) { }

/* Otherwise fall back to the default logging location, if we have one */ if (sapi_module.log_message) { }

sapi_module.log_message(log_message); if (!strcmp(PG(error_log), \ }

fd = VCWD_OPEN_MODE(PG(error_log), O_CREA …… 此处隐藏:3220字,全部文档内容请下载后查看。喜欢就下载吧 ……

软件著作权范本(6).doc 将本文的Word文档下载到电脑,方便复制、编辑、收藏和打印
本文链接:https://www.jiaowen.net/wendang/518982.html(转载请注明文章来源)
Copyright © 2020-2025 教文网 版权所有
声明 :本网站尊重并保护知识产权,根据《信息网络传播权保护条例》,如果我们转载的作品侵犯了您的权利,请在一个月内通知我们,我们会及时删除。
客服QQ:78024566 邮箱:78024566@qq.com
苏ICP备19068818号-2
Top
× 游客快捷下载通道(下载后可以自由复制和排版)
VIP包月下载
特价:29 元/月 原价:99元
低至 0.3 元/份 每月下载150
全站内容免费自由复制
VIP包月下载
特价:29 元/月 原价:99元
低至 0.3 元/份 每月下载150
全站内容免费自由复制
注:下载文档有可能出现无法下载或内容有问题,请联系客服协助您处理。
× 常见问题(客服时间:周一到周五 9:30-18:00)