开发者

How to send IP address using PDF Forms and Adobe Acrobat?

I have a PDF form and I would like to send the IP address of the person that hits the submit button with the other values of the form. I am using Adobe 开发者_运维百科Acrobat. Could anyone help me with this? Thanks a lot!!!


From a server script point of view, it doesn't care if the submission comes from a PDF form or an HTML form. Just pick up the IP address of the request inside the server script you're submitting to (as you would any IP in ASP.NET):

Request.Servervariables("REMOTE_ADDR") or HttpContext.Current.Request.UserHostAddress;


When they hit submit how are you returning the form to you? I had it POST this data back to my server. If you do it that way you can just get the IP on the server side when the post comes in. If the submit button emails it back to you I don't know.

0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜