您好,欢迎来到三六零分类信息网!老站,搜索引擎当天收录,欢迎发信息

为什么不能获取PHP表单变量的_PHP教程

2025/7/7 17:04:10发布29次查看
如果大家使用php4.2版本或者以上的请看这里。 设置register_globals = on 或者 加入以下代码: // allow script to work with registerglobals off if ( function_exists(ini_get) ) { $onoff = ini_get(register_globals); } else { $onoff = get_cfg_var(register_globals); } if ($onoff != 1) { @extract($http_server_vars, extr_skip); @extract($http_cookie_vars, extr_skip); @extract($http_post_files, extr_skip); @extract($http_post_vars, extr_skip); @extract($http_get_vars, extr_skip); @extract($http_env_vars, extr_skip); } 详细参考这里: http://www.21php.com/tutorial/tutorial.php?tid=21 相关讨论请看这里: http://www.21php.com/forums/showthread.php?s=&postid=588#post588 http://www.21php.com/forums/showthread.php?s=&postid=400#post400
http://www.bkjia.com/phpjc/531841.htmlwww.bkjia.comtruehttp://www.bkjia.com/phpjc/531841.htmltecharticle如果大家使用php4.2版本或者以上的请看这里。 设置register_globals = on 或者 加入以下代码: // allow script to work with registerglobals off if ( function...
该用户其它信息

VIP推荐

免费发布信息,免费发布B2B信息网站平台 - 三六零分类信息网 沪ICP备09012988号-2
企业名录 Product