欢迎源代码(源码开源网)
admin 发布:2022-12-19 12:29 125
本篇文章给大家谈谈欢迎源代码,以及源码开源网对应的知识点,希望对各位有所帮助,不要忘了收藏本站喔。
本文目录一览:
- 1、急求!android开发与应用中,在原有的源代码上,加上一个欢迎页面,怎
- 2、asp登录界面源代码
- 3、卡巴扫描提示(加密脚本,欢迎来破解我的源代码.qme/qmsfile:受到密码保护
- 4、jsp登陆界面源代码
急求!android开发与应用中,在原有的源代码上,加上一个欢迎页面,怎
没法设置,只能在开始页写上欢迎页面,然后再跳转到你的首页
asp登录界面源代码
default
html
head
meta http-equiv="Content-Language" content="zh-cn"
meta http-equiv="Content-Type" content="text/html; charset=gb2312"
meta name="GENERATOR" content="Microsoft FrontPage 4.0"
meta name="ProgId" content="FrontPage.Editor.Document"
title个人注册/title
script language=vbscript
sub b1_onclick()
if len(trim(form1.t1.value))=0 then
msgbox"请输入你的帐号!",0+48,"提示"
form1.t1.focus
elseif len(trim(form1.t2.value))=0 then
msgbox"请输入你的密码!",0+48,"提示"
form1.t2.focus
else
if isnumeric(form1.t1.value)=true then
msgbox"请输入汉字!",0+48,"重输"
form1.t1.focus
elseif len(trim(form1.t2.value))3 or len(trim(form1.t2.value))8 then
msgbox"密码在3至8位之间!",0+48,"重输"
form1.t2.focus
else
window.open"1.asp","new","toolbar=no,width=280,height=150,menubar=no,scrollbar=no,resizable=0"
form1.submit
end if
end if
end sub
/script
/head
body
pyw9sky天地/p
form method="POST" action="1.asp" name="form1" target="new"
p align="center"font size="6" color="#FF0000" face="隶书"个人注册/font/p
p align="center"font size="4"姓名:/fontinput type="text" name="t1" size="20"/p
p align="center"font size="4"密码:/fontinput type="password" name="t2" size="20"/p
p align="center"input type="button" value="注册" name="B1"input type="reset" value="重写" name="B2"/p
/form
/body
/html
1.asp
%@ language=vbscript %
%
dim x,y,num
num=0
x=request.form("t1")
y=request.form("t2")
response.cookies("user")("name")=x
response.cookies("user")("num")=num
response.cookies("user")("password")=y
response.cookies("user").expires=date()+365
%
html
head
title信息确认/title
/head
body
pyw9sky天地/p
table border="0" width="100%" id="table1" align=center cellspacing=1 bgcolor=#333399
tr bgcolor=#ffffff align=center
td colspan="2" width="100%"信息确认/td
/tr
tr bgcolor=#ffffff align=center
td width="31%"姓名:/td
td width="69%"% = x %/td
/tr
tr bgcolor=#ffffff align=center
td width="31%"密码:/td
td width="69%"% = y %/td
/tr
tr bgcolor=#ffffff align=center
td colspan="2" width="100%" align="center"a target="_blank" href="2.asp"登录/a
font onclick="window.close()" style="cursor:hand"关闭/font/td
/tr
/table
/body
/html
%@ language=vbscript %
html
head
title个人登录/title
script language=vbscript
sub b1_onclick()
if len(trim(form1.t1.value))=0 then
msgbox"请输入你的姓名!",0+48,"提示"
form1.t1.focus
elseif len(trim(form1.t2.value))=0 then
msgbox"请输入你的密码!",0+48,"提示"
form1.t2.focus
else
if isnumeric(form1.t1.value)=true then
msgbox"请输入汉字!",0+48,"重输"
form1.t1.focus
elseif len(trim(form1.t2.value))3 or len(trim(form1.t2.value))8 then
msgbox"密码在3至8位之间!",0+48,"重输"
form1.t2.focus
else
form1.submit
end if
end if
end sub
/script
/head
body
form method="POST" action="3.asp" name="form1" target="_blank"
p align="center"font size="6" color="#FF0000" face="隶书"个人登录/font/p
p align="center"font size="4"姓名;/fontinput type="text" name="t1" size="20"/p
p align="center"font size="4"密码:/fontinput type="password" name="t2" size="20"/p
p align="center"input type="button" value="开始登录" name="B1"input type="reset" value="重新输入" name="B2"/p
/form
/body
/html
3.asp
% @ language=vbscript %
%
dim x,y,nm,pw
x=request.form("t1")
y=request.form("t2")
nm=requset.cookies("user")("name")
pw=requset.cookies("user")("password")
if nmx or pwy then
response.redirect"default.htm"
end if
%
%
dim num
num=request.cookies('user")("num")
if num=0 then
num=1
else
num=num+1
end if
response.cookies("user")("num")=num
%
html
head
title欢迎来访yw9sky/title
/head
body
欢迎% =nm %第% =num %次登录
/body
/html
卡巴扫描提示(加密脚本,欢迎来破解我的源代码.qme/qmsfile:受到密码保护
回复:========用手动删除它、
(去E盘搜索找不到这个文件)是因为那是一个隐藏文件、
显示隐藏文件法:
打开“我的电脑”进入E盘----工具----文件夹选项-----查看-----在去掉“隐藏受保护的操作系统文件”前的√----是----确定、然后就能找到“回收站”了、接着进入回收站手动删除它即可、
人家逗你玩呢、你若不懂的 最好别碰它、
E:\RECYCLER .... 这里是“回收站”、你直接清空“回收站”它不就玩完了么!。最简单的办法、
jsp登陆界面源代码
1、login.jsp文件
%@ page language="java" contentType="text/html; charset=GB18030"
pageEncoding="GB18030"%
%@ page import="java.util.*" %
!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"
html
head
title登录页面/title
/head
body
form name="loginForm" method="post" action="judgeUser.jsp"
table
tr
td用户名:input type="text" name="userName" id="userName"/td
/tr
tr
td密码:input type="password" name="password" id="password"/td
/tr
tr
tdinput type="submit" value="登录" style="background-color:pink" input
type="reset" value="重置" style="background-color:red"/td
/tr
/table
/form
/body
/html
2、judge.jsp文件
%@ page language="java" contentType="text/html; charset=GB18030"
pageEncoding="GB18030"%
%@ page import="java.util.*" %
!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"
html
head
title身份验证/title
/head
body
%
request.setCharacterEncoding("GB18030");
String name = request.getParameter("userName");
String password = request.getParameter("password");
if(name.equals("abc") password.equals("123")) {
3、afterLogin.jsp文件
%
jsp:forward page="afterLogin.jsp"
jsp:param name="userName" value="%=name%"/
/jsp:forward
%
}
else {
%
jsp:forward page="login.jsp"/
%
}
%
/body
/html
%@ page language="java" contentType="text/html; charset=GB18030"
pageEncoding="GB18030"%
!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"
html
head
title登录成功/title
/head
body
%
request.setCharacterEncoding("GB18030");
String name = request.getParameter("userName");
out.println("欢迎你:" + name);
%
/body
/html
扩展资料:
java web登录界面源代码:
1、Data_uil.java文件
import java.sql.*;
public class Data_uil
{
public Connection getConnection()
{
try{
Class.forName("com.microsoft.sqlserver.jdbc.SQLServerDriver");
}catch(ClassNotFoundException e)
{
e.printStackTrace();
}
String user="***";
String password="***";
String url="jdbc:sqlserver://127.0.0.1:1433;DatabaseName=***";
Connection con=null;
try{
con=DriverManager.getConnection(url,user,password);
}catch(SQLException e)
{
e.printStackTrace();
}
return con;
}
public String selectPassword(String username)
{
Connection connection=getConnection();
String sql="select *from login where username=?";
PreparedStatement preparedStatement=null;
ResultSet result=null;
String password=null;
try{
preparedStatement=connection.prepareStatement(sql);
preparedStatement.setString(1,username);
result=preparedStatement.executeQuery();//可执行的 查询
if(result.next())
password=result.getString("password");
}catch(SQLException e){
e.printStackTrace();
}finally
{
close(preparedStatement);
close(result);
close(connection);
}
System.out.println("找到的数据库密码为:"+password);
return password;
}
public void close (Connection con)
{
try{
if(con!=null)
{
con.close();
}
}catch(SQLException e)
{
e.printStackTrace();
}
}
public void close (PreparedStatement preparedStatement)
{
try{
if(preparedStatement!=null)
{
preparedStatement.close();
}
}catch(SQLException e)
{
e.printStackTrace();
}
}
public void close(ResultSet resultSet)
{
try{
if(resultSet!=null)
{
resultSet.close();
}
}catch(SQLException e)
{
e.printStackTrace();
}
}
}
2、login_check.jsp:文件
%@ page language="java" contentType="text/html; charset=utf-8"
pageEncoding="utf-8"%
!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" ""
html
head
meta http-equiv="Content-Type" content="text/html; charset=utf-8"
title验证用户密码/title
/head
body
jsp:useBean id="util" class="util.Data_uil" scope="page" /
%
String username=(String)request.getParameter("username");
String password=(String)request.getParameter("password");
if(username==null||"".equals(username))
{
out.print("script language='javaScript' alert('用户名不能为空');/script");
response.setHeader("refresh", "0;url=user_login.jsp");
}
else
{
System.out.println("输入的用户名:"+username);
String passwordInDataBase=util.selectPassword(username);
System.out.println("密码:"+passwordInDataBase);
if(passwordInDataBase==null||"".equals(passwordInDataBase))
{
out.print("script language='javaScript' alert('用户名不存在');/script");
response.setHeader("refresh", "0;url=user_login.jsp");
}
else if(passwordInDataBase.equals(password))
{
out.print("script language='javaScript' alert('登录成功');/script");
response.setHeader("refresh", "0;url=loginSucces.jsp");
}
else
{
out.print("script language='javaScript' alert('密码错误');/script");
response.setHeader("refresh", "0;url=user_login.jsp");
}
}
%
/body
/html
3、loginSucces.jsp文件
%@ page language="java" contentType="text/html; charset=utf-8"
pageEncoding="utf-8"%
!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" ""
html
head
meta http-equiv="Content-Type" content="text/html; charset=ISO-8859-1"
titleInsert title here/title
/head
body
hr size="10" width="26%" align="left" color="green"
font size="6" color="red" 登录成功 /font
hr size="10" width="26%" align="left" color="green"
/body
/html
4、user_login.jsp文件
%@ page language="java" contentType="text/html; charset=utf-8"
pageEncoding="utf-8"%
!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" ""
html
head
meta http-equiv="Content-Type" content="text/html; charset=ISO-8859-1"
title登录界面/title
/head
body background="C:\Users\win8\workspace\Login\image\9dcbdc339e72a5663b5c289fb5573c13_10.jpg"
center
brbrbrbrbrbr
h1 style="color:yellow"Login/h1
br
form name="loginForm" action="login_check.jsp" method="post"
table Border="0"
tr
td账号/td
tdinput type="text" name="username"/td
/tr
tr
td密码/td
tdinput type="password" name="password"
/td
/tr
/table
br
input type="submit" value="登录" style="color:#BC8F8F"
/form
/center
/body
/html
关于欢迎源代码和源码开源网的介绍到此就结束了,不知道你从中找到你需要的信息了吗 ?如果你还想了解更多这方面的信息,记得收藏关注本站。
版权说明:如非注明,本站文章均为 AH站长 原创,转载请注明出处和附带本文链接;
相关推荐
- 05-07pb超级报表源代码(pb报表工具)[20240507更新]
- 05-07简历源代码可以上传照片的简单介绍[20240507更新]
- 05-07广告切换源代码免费下载(广告切换源代码免费下载安装)[20240507更新]
- 05-06阁楼网源代码(阁楼是什么网站)[20240506更新]
- 05-06源代码管理资源管理器(资源管理器运行代码)[20240506更新]
- 05-06人脸识别源代码pdf的简单介绍[20240506更新]
- 05-06包含超市管理系统java源代码的词条[20240506更新]
- 05-06商城app源代码免费(商城App源码)[20240506更新]
- 05-06包含游戏源代码不同的模式的词条[20240506更新]
- 05-06matlab写的图象灰度切分源代码(matlab灰度图像分段线性变换)[20240506更新]
取消回复欢迎 你 发表评论:
- 标签列表
- 最近发表
- 友情链接