问题描述
我希望为我的用户名和登录设置一个代码,我会在我的网站上使用它来记录每个登录的人
所以我有一个页面让我们称之为用户.php。
到目前为止我的代码看起来像这样
[HTML]< b>会员登录< / font> ;< / strong>< / b>< br />
< table border =" 0" CELLSPACING = QUOT; 0" cellpadding =" 3">
< tr>
< td nowrap align =" right">
E-邮件:< / td>
< td>< input type =" text"名称= QUOT;电子邮件"值= QUOT;"大小= QUOT; 23" style =" width:165px;">< / td>
< / tr>
< tr>
< td nowrap align =" right">
密码:< / td>
< td>< input type =" password"名称= QUOT;密码"大小= QUOT; 23" style =" width:165px;">< / td>
< / tr>
< tr valign =" top" ;>
< td colspan =" 2" align =" center">
登录< / td> [/ HTML]
所以我想要达到的目标是有人进入在用户名框和密码框中输入内容并点击登录,将其记录到文件中。通过这种方式,我可以观看多少时间,而不是一个柜台,而不是个人...
任何想法?
I am looking to make a code for my User name and login I use on my site where it will record everyone who logs in
So I have a page lets call it user.php.
So far my code looks like this
[HTML] <b>Member Login</font></strong></b><br />
<table border="0" cellspacing="0" cellpadding="3">
<tr>
<td nowrap align="right">
E-Mail:</td>
<td><input type="text" name="email" value="" size="23" style="width:165px;"></td>
</tr>
<tr>
<td nowrap align="right">
Password:</td>
<td><input type="password" name="password" size="23" style="width:165px;"></td>
</tr>
<tr valign="top">
<td colspan="2" align="center">
SIGN IN</td>[/HTML]
So the goal I want to reach here is when someone enters something in to the USER NAME box and the PASSWORD box and hit SIGN IN it will log it to a file. This way I can watch how many time and which not almost like a counter but a personal one...
Any ideas?
推荐答案
啊,很高兴你看到为什么我喜欢这样做..
这里是我的问题。我在登录之前从未登录过..
我一直使用我的服务器。 I.E.我只是将用户/ pw放在VIA我的服务器选项的文件夹中,它会提示用户名/ PW默认框VIA窗口或用户正在使用的任何东西来查看该网站。
所以我想让它看起来像FANCY并学习它..
所以我不确定如何遇到这个但我想从它开始记录用户名和pw是最好的起点???
所以我的目标是:
获取用户& PW字段用于将输入的文本记录到文件中或将其发送到系统电子邮件。然后设置页面,它将允许访问????
ahh glad you see why Id like to do this..
well here is my issue. I have never made a login before ON A PAGE..
I have always used my server. I.E. I would just put a user / pw on a folder VIA my server options and it would prompt the USER NAME / PW default box VIA windows or whatever the user is using to view the site.
So I would like to just make this to look FANCY and to learn it..
So I am unsure over how to come across this but I thought starting with it recording the username and pw is the best place to start???
So goal in my mind is to:
Get User & PW field to log entered text in to a file or send it to the system e-mail. Then setup the page it will allow access to????
这篇关于用户名和PW捕获的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持!