社区
基础编程
帖子详情
php中的register_globals为off,怎么获得url中传递参数
winodbc
2003-09-12 08:34:23
php中的register_globals为off,怎么获得url中传递参数
...全文
22
3
打赏
收藏
php中的register_globals为off,怎么获得url中传递参数
php中的register_globals为off,怎么获得url中传递参数
复制链接
扫一扫
分享
转发到动态
举报
写回复
配置赞助广告
用AI写文章
3 条
回复
切换为时间正序
请发表友善的回复…
发表回复
打赏红包
zzh26
2003-09-12
打赏
举报
回复
$_GET[变量名]
bflovesnow
2003-09-12
打赏
举报
回复
$_GET[var];
看手册去,有详细说明
feel8
2003-09-12
打赏
举报
回复
$_GET[]数组来取得
$_GET['变量名']; 这样接收get变量
$_POST['变量名']; 这样接收post变量
<?php
//test.php
//在浏览器打入http://localhost/test.php?test=12345 直接访问本页
echo $_GET['test'];//output 12345
?>
php
5.3 re
gis
ter
_
global
s,
PHP
中
re
gis
ter
_
global
s参数设置
re
gis
ter
_
global
s是
php
.ini里的一个配置,这个配置影响到
php
如何接收传递过来的参数。1、当re
gis
ter
_
global
s=Off的时候,下一个程序接收的时候应该用$_GET['user_name']和$_GET['user_pass']来接受传递过来的值。(注:当的method属性为post的时候应该用$_POST['user_name']和$_POST['user_pas...
php
没有re
gis
ter
_
global
s,
PHP
中
re
gis
ter
_
global
s参数为OFF和ON的区别(re
gis
ter
_
global
s 使用详解)...
PHP
中
re
gis
ter
_
global
s参数为OFF和ON的区别(re
gis
ter
_
global
s 使用详解)更新时间:2012年02月05日 21:31:33 作者:re
gis
ter
_
global
s是
php
.ini里的一个配置,这个配置影响到
php
如何接收传递过来的参数,如果你的问题是:为什么我的表单无法传递数据?为什么我的程序无法得到传递过来的变量?等等,那么你需要仔细的阅读以下的内容re...
关闭
php
.ini
中
re
gis
ter
_
global
s,深入了解 re
gis
ter
_
global
s (附re
gis
ter
_
global
s=off 网站打不开的解决方法)...
深入了解 re
gis
ter
_
global
s (附re
gis
ter
_
global
s=off 网站打不开的解决方法)更新时间:2012年06月27日 10:08:07 作者:由于re
gis
ter
_
global
s设置控制
PHP
变量访问范围,如果开启会引起不必要的安全问题,所以这里对其进行了强制关闭,如果站长的空间不支持,可以采用以下几种办法进行修改,供广大站长参考深入了解 re
gis
ter
_glob...
re
gis
ter
_
global
s = Off 和 re
gis
ter
_
global
s = On的区别
一、re
gis
ter
_
global
s=Off和re
gis
ter
_
global
s=On的区别re
gis
ter
_
global
s是
php
.ini里的一个配置,这个配置影响到
php
如何接收传递过来的参数.re
gis
ter
_
global
s的值可以设置为:On或者Off,我们举一段代码来分别描述它们的不同。<form action='' method='get'>...
PHP
中
re
gis
ter
_
global
s参数设置
re
gis
ter
_
global
s是
php
.ini里的一个配置,这个配置影响到
php
如何接收传递过来的参数
基础编程
21,886
社区成员
140,364
社区内容
发帖
与我相关
我的任务
基础编程
从PHP安装配置,PHP入门,PHP基础到PHP应用
复制链接
扫一扫
分享
社区描述
从PHP安装配置,PHP入门,PHP基础到PHP应用
社区管理员
加入社区
获取链接或二维码
近7日
近30日
至今
加载中
查看更多榜单
社区公告
暂无公告
试试用AI创作助手写篇文章吧
+ 用AI写文章