从表单中获取数据的问题(method = get) [英] problem to get data from a form (method=get)

查看:82
本文介绍了从表单中获取数据的问题(method = get)的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我使用安装了默认php的redhat8,我面临的问题

是:


#test.php

<?php

echo $ test_value;

?>


localhost / test.php?test_value = abc


无论我尝试什么值,php都无法通过获取或直接获得我的价值

url传递。你对这个问题有什么想法吗?谢谢:)

i am using redhat8 with default php installed, the problem i am facing
is that:

#test.php
<?php
echo $test_value;
?>

localhost/test.php?test_value=abc

whatever values i try, php can''t get my values passed by get or direct
url passing. do you have any ideas about that problem? thanks :)

推荐答案

test_value;

?>


localhost /test.php?test_value=abc


无论我尝试什么值,php都无法通过获取或直接获得我的价值

url传递。你对这个问题有什么想法吗?谢谢:)
test_value;
?>

localhost/test.php?test_value=abc

whatever values i try, php can''t get my values passed by get or direct
url passing. do you have any ideas about that problem? thanks :)


2004年9月13日星期一02:57:11 +1000,linux新手

< li ***** ***********@yahoo.com>写道:
On Mon, 13 Sep 2004 02:57:11 +1000, linux newbie
<li****************@yahoo.com> wrote:
我使用安装了默认php的redhat8,我面临的问题是:

#test.php
<?php
echo
i am using redhat8 with default php installed, the problem i am facing
is that:

#test.php
<?php
echo


test_value;
?>

localhost / test.php?test_value = abc

我尝试的任何值,php都不能通过获取或直接传递URL传递我的值。你对这个问题有什么想法吗?谢谢:)
test_value;
?>

localhost/test.php?test_value=abc

whatever values i try, php can''t get my values passed by get or direct
url passing. do you have any ideas about that problem? thanks :)



PEBKAC。 RTFM!


问候,


Ian


-

Ian.H

digiServ网络

伦敦,英国
http://digiserv.net/


这篇关于从表单中获取数据的问题(method = get)的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆