需要有关asp脚本的帮助! [英] Need help with asp scripting!

查看:47
本文介绍了需要有关asp脚本的帮助!的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

任何人都可以提供示例代码,说明如何将表单结果发送到结果

页面,电子邮件和逗号分隔文件?请注意,我需要它去所有

三个位置。


详细信息:我已经创建并运行了表单。用户填写的第一个表格

并提交。表单属性设置为发送到其他:自定义ISAPI,

NSAPI,CGI或ASP脚本。该方法是POST。并且行动是

" secondpage.asp"。我必须走这条路,因为在发送到安全网站以获得信用卡安全之前,必须先完成一些计算。


secondpage.asp表格专业人士使用发送给其他人,

行动进入安全的信用卡网站。本网站仅允许

一定数量的表单字段,我们希望收集所有数据。可以使用asp脚本来完成这个吗?我想过使用自定义脚本来支付
电子邮件和文件,然后重定向到secondpage.asp,但是不知道是否会在asp脚本中使用
工作和新手。好像你还不能说出来!


任何帮助都将不胜感激。提前致谢!

Can anyone provide example code showing how to send form results to a results
page, email and a comma delimited file? Notice that I need it going to all
three locations.

Details: I have forms created and working. The first form the user fills out
and submits. The form properties are set to Send to other: "Custom ISAPI,
NSAPI, CGI, OR ASP SCRIPTING. The method is "POST" and the action is
"secondpage.asp". I had to go this route because some calculations had to be
done before sending on to a secure website for credit card security.

The secondpage.asp form properites uses the send to other as well, with
action going to the secure credit card website. This website only allows a
certain number of form field to go over and we want to collect all data. Can
this be done using asp scripting? I thought about using a custom script to
email and file then redirect to secondpage.asp but didnt know if that would
work and a novice at asp scripting. As if you couldn''t already tell!!

Any help would be greatly appreciated. Thanks in advance!

推荐答案

=?Utf-8?B?ZnJlZW1hbm4 =?=于2006年2月22日写在

microsoft.public.inetserver.asp.general:
=?Utf-8?B?ZnJlZW1hbm4=?= wrote on 22 mei 2006 in
microsoft.public.inetserver.asp.general:
任何人都可以提供示例代码,说明如何将表单结果发送到结果页面,电子邮件和逗号分隔文件吗?请注意,我需要它来到所有三个位置。

详细信息:我创建了表单并且正在工作。第一种形式的用户
填写并提交。表单属性设置为发送到其他:
自定义ISAPI,NSAPI,CGI或ASP脚本。


怎么样?


表单提交是简单的客户端HTML,不能专门为

设置为那个。

方法是POST。并且
动作是secondpage.asp。我不得不走这条路,因为在发送到安全网站以获得信用卡安全之前,必须先进行一些计算。


A = request.form(theInputNameA)


这里使用CDO,Jmail或任何协议发送电子邮件的代码是

在您的服务器上使用


然后使用form-post将A的值发送到另一个文件只能是

完成恕我直言!使用隐藏输入值的客户端页面


< input name =''secondInoutA''value =''<%= A%>''>


并通过客户端脚本自动提交。


如果信息可以作为查询字符串发送,信用卡公司

可以服务器使用server.xmlhttp或类似服务器直接调用。


也许ASP可以使用专用标头伪造POST,Guru''s ??

第二页.asp表格本身也使用发送给其他人,
行动进入安全的信用卡网站。这个网站只允许一定数量的表单字段过去,我们希望收集所有数据。可以使用asp脚本来完成吗?我想
关于使用自定义脚本来发送电子邮件和文件,然后重定向到第二页.asp,但不知道这是否有效,并且是asp的脚本新手。好像你不能说出来!!


我不是一个确切的新手,但我不敢碰信用卡代码,

尤其是这个回到客户端的抽搐,因为这个是一个

的安全风险,允许客户在发送给cresit卡公司的

电子邮件中设置不同的信息。

任何帮助都会非常感谢。提前致谢!
Can anyone provide example code showing how to send form results to a
results page, email and a comma delimited file? Notice that I need it
going to all three locations.

Details: I have forms created and working. The first form the user
fills out and submits. The form properties are set to Send to other:
"Custom ISAPI, NSAPI, CGI, OR ASP SCRIPTING.
How can that be?

Form submitting is simple clientside HTML and cannot be specifically be
set for that.
The method is "POST" and
the action is "secondpage.asp". I had to go this route because some
calculations had to be done before sending on to a secure website for
credit card security.
A = request.form("theInputNameA")

Here the code to send an email using CDO, Jmail or whatever protocol is
used on your server

then sending the value of A to another file using form-post can only be
done IMHO!!! using a clientside page with hidden input value

<input name=''secondInoutA'' value=''<%=A%>''>

and automatic submission by clientside script.

If the info could be sent as an querystring, the credit card company
could be called directly by the server using server.xmlhttp or alike.

Perhaps ASP could fake POST with specialized headers, Guru''s??
The secondpage.asp form properites uses the send to other as well,
with action going to the secure credit card website. This website only
allows a certain number of form field to go over and we want to
collect all data. Can this be done using asp scripting? I thought
about using a custom script to email and file then redirect to
secondpage.asp but didnt know if that would work and a novice at asp
scripting. As if you couldn''t already tell!!
I am not an exact novice, but I would not dare touch credit card code,
especially with this twitch of going back to the client, as this is an
security risk allowing the client to set different information in the
email as is sent to the cresit card company.
Any help would be greatly appreciated. Thanks in advance!




-

Evertjan。

荷兰。

(请将x''es更改为我的电子邮件地址中的点数)



--
Evertjan.
The Netherlands.
(Please change the x''es to dots in my emailaddress)





Evertjan。写道:


"Evertjan." wrote:
=?Utf-8?B?ZnJlZW1hbm4 =?=写于2006年2月22日的
microsoft.public.inetserver.asp.general:
=?Utf-8?B?ZnJlZW1hbm4=?= wrote on 22 mei 2006 in
microsoft.public.inetserver.asp.general:
任何人都可以提供示例代码,说明如何将表单结果发送到结果页面,电子邮件和逗号分隔文件吗?请注意,我需要它来到所有三个位置。

详细信息:我创建了表单并且正在工作。第一种形式的用户
填写并提交。表单属性设置为发送到其他:
自定义ISAPI,NSAPI,CGI或ASP脚本。
Can anyone provide example code showing how to send form results to a
results page, email and a comma delimited file? Notice that I need it
going to all three locations.

Details: I have forms created and working. The first form the user
fills out and submits. The form properties are set to Send to other:
"Custom ISAPI, NSAPI, CGI, OR ASP SCRIPTING.



这怎么可能?



How can that be?

Form submitting is simple clientside HTML and cannot be specifically be
set for that.

该方法是POST。并且
动作是secondpage.asp。我必须走这条路,因为必须先进行一些计算才能发送到安全的网站以获得信用卡安全。
The method is "POST" and
the action is "secondpage.asp". I had to go this route because some
calculations had to be done before sending on to a secure website for
credit card security.



A = request.form (theInputNameA)

这里使用CDO,Jmail或任何协议发送电子邮件的代码在服务器上使用

然后发送值使用form-post的另一个文件只能完成恕我直言!使用隐藏输入值的客户端页面

< input name =''secondInoutA''value =''<%= A%>''>

客户端脚本自动提交。

如果信息可以作为查询字符串发送,信用卡公司
可以由服务器使用server.xmlhttp等直接调用。

也许ASP可以用专门的标题伪造POST,Guru''s ??



A = request.form("theInputNameA")

Here the code to send an email using CDO, Jmail or whatever protocol is
used on your server

then sending the value of A to another file using form-post can only be
done IMHO!!! using a clientside page with hidden input value

<input name=''secondInoutA'' value=''<%=A%>''>

and automatic submission by clientside script.

If the info could be sent as an querystring, the credit card company
could be called directly by the server using server.xmlhttp or alike.

Perhaps ASP could fake POST with specialized headers, Guru''s??

secondpage.asp表单本身也使用发送给其他人,
行动到安全的信用卡网站。这个网站只允许一定数量的表单字段过去,我们希望收集所有数据。可以使用asp脚本来完成吗?我想
关于使用自定义脚本来发送电子邮件和文件,然后重定向到第二页.asp,但不知道这是否有效,并且是asp的脚本新手。好像你还不能说出来一样!!
The secondpage.asp form properites uses the send to other as well,
with action going to the secure credit card website. This website only
allows a certain number of form field to go over and we want to
collect all data. Can this be done using asp scripting? I thought
about using a custom script to email and file then redirect to
secondpage.asp but didnt know if that would work and a novice at asp
scripting. As if you couldn''t already tell!!



我不是一个确切的新手,但我不敢碰信用卡代码,特别是这个蠢货回到客户端,因为这是一个安全风险,允许客户在发送给cresit卡公司的电子邮件中设置不同的信息。



I am not an exact novice, but I would not dare touch credit card code,
especially with this twitch of going back to the client, as this is an
security risk allowing the client to set different information in the
email as is sent to the cresit card company.

任何帮助将不胜感激。提前致谢!
Any help would be greatly appreciated. Thanks in advance!



- Evertjan。
荷兰。
(请将我的电子邮件地址中的x'更改为点数)



--
Evertjan.
The Netherlands.
(Please change the x''es to dots in my emailaddress)




信用卡数据和处理由另一家公司收取,这对我来说是如此复杂。 secondpage.asp使用你提到的隐藏的

文件,我不得不使用第二页来带来捐赠者输入的

捐赠金额,因为格式为美元

金额。


表格位于 http://www.uamont.edu/alumni/tinasform.asp 如果你想要审查
但是你不会看到所有的查看源代码时的代码。


结果页面位于 http://www.uamont.edu/alumni/tinasform.asp

但你不会看到那里的所有代码。可能会给你一个更好的理解我正在做或正在尝试做什么。


这是一件非常繁琐的事情,但正如我前面提到的,表格正在工作

除了我不能发送到逗号分隔的文件或电子邮件没有

更多的脚本经验。所以我被告知了。



The credit card data and processing are housed by another company which is
what makes this so complicated for me. The secondpage.asp uses the hidden
files as you mention and I had to use that secondpage just to bring over the
donation amount inputted by the donor because of the format for dollar
amount.

The form is located at http://www.uamont.edu/alumni/tinasform.asp if you
want to review, however you will not see all the code when viewing source.

The results page is located at http://www.uamont.edu/alumni/tinasform.asp
but you will not see all the code there either. Might give you a better
understanding of what I am doing or trying to do.

It has been quite a chore but as I mentioned earlier, the forms are working
as is except that I cannot send to a comma delimited file or email without
more scripting experience. So I''ve been told.


=?Utf-8?B?ZnJlZW1hbm4 =?=于2006年2月22日写在

microsoft .public.inetserver.asp.general:
=?Utf-8?B?ZnJlZW1hbm4=?= wrote on 22 mei 2006 in
microsoft.public.inetserver.asp.general:
信用卡数据和处理由另一家公司设置
这就是让我这么复杂的原因。 secondpage.asp
使用你提到的隐藏文件,我不得不使用第二页
只是为了带来捐赠者输入的捐款金额,因为
的金额格式。<
表格位于 http:// www。 uamont.edu/alumni/tinasform.asp 如果您想要查看,但是在查看
来源时您将看不到所有代码。


从表面上看,它看起来相当不错,并且表明你不是HTML的初学者。


但是我可以而且不应该看到ASP代码,因为那是服务器端。

结果页面位于
http:// www。 uamont.edu/alumni/tinasform.asp 但你不会在那里看到所有的代码。可能会让您更好地了解我正在做或正在做的事情。


这个重定向到我认为的同一页。

这是一项非常繁琐的工作,但正如我之前提到的,表格是
除了我不能发送逗号分隔文件或电子邮件没有更多的脚本经验。所以我被告知了。
The credit card data and processing are housed by another company
which is what makes this so complicated for me. The secondpage.asp
uses the hidden files as you mention and I had to use that secondpage
just to bring over the donation amount inputted by the donor because
of the format for dollar amount.

The form is located at http://www.uamont.edu/alumni/tinasform.asp if
you want to review, however you will not see all the code when viewing
source.

Grafically it looks quite nice and shows you are not a beginner in HTML.

However I can and should not see the ASP code, since that is serverside.
The results page is located at
http://www.uamont.edu/alumni/tinasform.asp but you will not see all
the code there either. Might give you a better understanding of what I
am doing or trying to do.
This redirects to the same page I believe.
It has been quite a chore but as I mentioned earlier, the forms are
working as is except that I cannot send to a comma delimited file or
email without more scripting experience. So I''ve been told.




这些页面要复杂到实验,我建议你开始

返回一个逗号由小asp文件生成的分隔文件。


<%

response.ContentType =" text / plain"

对于i = 1到999

response.write" Field number" &安培; n& ","

Next

response.write" Field number" &安培; 1000

%>

-

Evertjan。

荷兰。

(请将我的电子邮件地址中的x'变为点数)



The pages are far to complex to experiment with, do I suggest you start
returning a comma delimited file generated by a small asp file.

<%
response.ContentType="text/plain"
For i = 1 to 999
response.write "Field number " & n & ","
Next
response.write "Field number " & 1000
%>
--
Evertjan.
The Netherlands.
(Please change the x''es to dots in my emailaddress)


这篇关于需要有关asp脚本的帮助!的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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