表格数据丢失 [英] Form Data Loss

查看:80
本文介绍了表格数据丢失的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我最近开始遇到表格数据丢失。这是一个

的例子:


==== test_form1.php ====


< form method =" POST" action =" test_form2.php">

< input name =" textboxvalue"类型= QUOT;文本" size =" 20">

< br>

< input type =" submit" value =" Submit">

< / form>


================= =====

==== test_form2.php ====

< ;?

echo" textboxvalue:" 。$ textboxvalue;

?>

======================


(注意:这些是不完整的例子,我遗漏了< html>标签

例如)


放完之后将数据放入textboxvalue文本框并按下

提交按钮,在第二页上只有textboxvalue:显示。

奇怪的是,当我重新启动计算机时,这很好,

然后再停止工作。这些页面使用128 SSL

加密(mod_SSL 2.8.15)进行加密。


此问题困扰了我正在开发的在线应用程序,并且是

公司范围内的问题也发生在其他办公室的计算机上。


这是我的信息:


服务器

Apache 1.3.28

PHP 4.3.6

MySQL 3.23.39

mod_SSL 2.8.15

phpMyAdmin 2.50

客户

Windows XP专业版

Internet Explorer 6.0.28

I have recently started experiencing form data loss. Here is an
example:

====test_form1.php====

<form method="POST" action="test_form2.php">
<input name="textboxvalue" type="text" size="20">
<br>
<input type="submit" value="Submit">
</form>

======================
====test_form2.php====
<?
echo "textboxvalue: ".$textboxvalue;
?>
======================

(note: these are incomplete examples, I have left out the <html> tags
for example)

After putting in data into the textboxvalue textbox and pressing the
submit button, on the second page only "textboxvalue: " is displayed.
The weird thing is that when I restart my computer, this works fine,
but then stops working again. These pages are encrypted with 128 SSL
encryption (mod_SSL 2.8.15).

This problem has plagued an online app that I am developing and is a
company-wide problem that happens on computers in other offices too.

Here''s my info:

SERVER
Apache 1.3.28
PHP 4.3.6
MySQL 3.23.39
mod_SSL 2.8.15
phpMyAdmin 2.50

CLIENT
Windows XP Pro
Internet Explorer 6.0.28

推荐答案

textboxvalue;

?>

=========== ===========


(注意:这些是不完整的例子,我遗漏了< html>标签

for例子)


将数据输入textboxvalue文本框并按

提交按钮后,在第二页上只有textboxvalue:显示。

奇怪的是,当我重新启动计算机时,这很好,

然后再停止工作。这些页面使用128 SSL

加密(mod_SSL 2.8.15)进行加密。


此问题困扰了我正在开发的在线应用程序,并且是

公司范围内的问题也发生在其他办公室的计算机上。


这是我的信息:


服务器

Apache 1.3.28

PHP 4.3.6

MySQL 3.23.39

mod_SSL 2.8.15

phpMyAdmin 2.50

客户

Windows XP专业版

Internet Explorer 6.0.28
textboxvalue;
?>
======================

(note: these are incomplete examples, I have left out the <html> tags
for example)

After putting in data into the textboxvalue textbox and pressing the
submit button, on the second page only "textboxvalue: " is displayed.
The weird thing is that when I restart my computer, this works fine,
but then stops working again. These pages are encrypted with 128 SSL
encryption (mod_SSL 2.8.15).

This problem has plagued an online app that I am developing and is a
company-wide problem that happens on computers in other offices too.

Here''s my info:

SERVER
Apache 1.3.28
PHP 4.3.6
MySQL 3.23.39
mod_SSL 2.8.15
phpMyAdmin 2.50

CLIENT
Windows XP Pro
Internet Explorer 6.0.28


2004年6月21日10:03:55 -0700, kc ** @ issllc.com (smilemaster)写道:
On 21 Jun 2004 10:03:55 -0700, kc**@issllc.com (smilemaster) wrote:
==== test_form2.php ====
< ;?
echo" textboxvalue:"。
====test_form2.php====
<?
echo "textboxvalue: ".


textboxvalue;
?>
======================
提交按钮,在第二页上只有textboxvalue:显示。
textboxvalue;
?>
====================== submit button, on the second page only "textboxvalue: " is displayed.




我想你已经关闭了register_globals在你的php.ini中

要么打开它要么使用



i suppose you have turned off "register_globals" in your php.ini
Either turn it on or use the


这篇关于表格数据丢失的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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