为何我的$_GET['name']取不了数据???

tiandiqing 2003-11-28 06:20:22
url = http://www.doddo.com/ddd.php?name=zzy
为何我的$_GET['name']取不了数据???为何我用$_GET['name']取来的name为空????而我的php.ini里设置也没有问题!
...全文
89 10 打赏 收藏 转发到动态 举报
写回复
用AI写文章
10 条回复
切换为时间正序
请发表友善的回复…
发表回复
gluck 2003-11-29
  • 打赏
  • 举报
回复
系统问题,前天我的xp突然开不了机,修复后出现很多乱七八糟的错误。现在可以提交表单,但上传文件表单无法使用(不要说我哪里设置错误,这个连可能性也没有)。mysql无法写入文件等等。。。。
ustcfrank 2003-11-29
  • 打赏
  • 举报
回复
把代码贴出来
tiandiqing 2003-11-29
  • 打赏
  • 举报
回复
反正就是取不了!大家看吧!
Jatic 2003-11-29
  • 打赏
  • 举报
回复
在PHP4.1后都支持$_GET,不管register_global设置什么值都可以得到。
如果是PHP4.1以前版本,你可以用HTTP_GET_VARS。
从你的问题上看,应该不是这个问题,可能是系统没配置好

你用http://www.doddo.com/ddd.php试试,看什么错误
bonniewater 2003-11-29
  • 打赏
  • 举报
回复
$_GET['name']这样写,不管register_global设置什么值都可以得到
再找找别的问题吧
ustcfrank 2003-11-28
  • 打赏
  • 举报
回复
url = http://www.doddo.com/ddd.php?name=zzy

Page Not Found

The page you tried to access does not exist on this server. This page may not exist due to the following reasons:

You are the owner of this web site and you have not uploaded (or incorrectly uploaded) your web site. For information on uploading your web site using FTP client software or web design software, click here for FTP Upload Information.

The URL that you have entered in your browser is incorrect. Please re-enter the URL and try again.

The Link that you clicked on incorrectly points to this page. Please contact the owner of this web site to inform them of this situation.

sandyde2 2003-11-28
  • 打赏
  • 举报
回复
rename "name" to "nam", c whether it gets the same error..
liuzxit 2003-11-28
  • 打赏
  • 举报
回复
试试$_POST['name']或$_SESSION['name']
surfchen 2003-11-28
  • 打赏
  • 举报
回复
应该不关系到REGISTER_globals吧?

你把代码贴出来看看
feel8 2003-11-28
  • 打赏
  • 举报
回复
php版本?
php.ini 中register_globals 的值是什么。
代码

21,890

社区成员

发帖
与我相关
我的任务
社区描述
从PHP安装配置,PHP入门,PHP基础到PHP应用
社区管理员
  • 基础编程社区
加入社区
  • 近7日
  • 近30日
  • 至今
社区公告
暂无公告

试试用AI创作助手写篇文章吧