网络形式:令人沮丧的问题 [英] Web form: Frustrating problem

查看:69
本文介绍了网络形式:令人沮丧的问题的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

大家好,


我正在编写一个Web表单和一个后端Perl脚本来向管理员发送查询。


脚本的V1运行良好,它基本上只是一个简单的get-data-send-email [sendmail]脚本。另一方面,V2是一场噩梦。我只添加了一些更改。


在HTML页面中(已成为支持服务器的SHTML页面包括:

Hi everyone,

I''m writing a web form and a backend Perl script to send a query to the administrator.

V1 of the script is working well, it''s basically just a simple get-data-send-email [sendmail] script. V2, on the other hand, is a nightmare. I added just a few changes.

In the HTML page (which has become an SHTML page to support a server includes:

展开 | 选择 | Wrap | 行号

推荐答案

我应该提一下我猜的实际问题:我总是得到错误页面,而不是成功页面。当我试过将脚本开头收集的变量(ip,fullname等)打印到屏幕(HTML页面),它们显示为空白。
I should mention the actual problem I guess: I always get the error page, not the success page. When I''ve tried printing the variables (ip, fullname etc) collected at the beginning of the script to the screen (the HTML page), they display as blank.


其中一个条件为真所以你的脚本是吗错误的东西:

one of these conditions is true so your script does the error stuff:

展开 | 选择 | Wrap | 行号


实际上,不幸的是所有都是真的。问题是我不知道为什么。
Indeed, unfortunately all of them are true. The problem is I don''t know why.


这篇关于网络形式:令人沮丧的问题的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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