如何确认uname和pswd并允许访问下一页。 [英] how to confirm uname and pswd and allow access to next page.

查看:78
本文介绍了如何确认uname和pswd并允许访问下一页。的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

大家好,

我必须接受在网页上输入的用户名和密码(使用html设计)将它们存储在2个变量(比如$ var1和$ var2)中并与之比较一个文本文件(unpw.txt),它已经包含用户名及其密码列表(将被拆分并存储为$ uname和$ pswd)。

i被告知在perl脚本中使用html。即时通讯在使用perl时遇到问题,也包含html。

请帮助。

解决方案

var1和

var2)并将其与已经包含用户名及其密码列表的文本文件(unpw.txt)进行比较(该文件将被拆分并存储为


uname和

hi guys,
I have to accept the username and password entered on the web page(designed using html) store them in 2 variables (say, $var1 and $var2) and compare it with a text file(unpw.txt) which already has the list of username and its password (which will be split and stored as $uname and $pswd).
i was told to use html in perl scripts. im having trouble with perl and also in including html in it.
pls help.

解决方案

var1 and


var2) and compare it with a text file(unpw.txt) which already has the list of username and its password (which will be split and stored as


uname and


这篇关于如何确认uname和pswd并允许访问下一页。的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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