搜索
首页后端开发php教程初学者 求大神教我 用户注册源代码学习

初学者 求用户注册源码学习!


回复讨论(解决方案)

<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"><html xmlns="http://www.w3.org/1999/xhtml"><head><meta http-equiv="Content-Type" content="text/html; charset=utf-8" /><title>会员注册</title></head><body><div align="center"><font face="楷书" size="+3">会员注册</font></div><form id="form1" name="form1" method="get" action="register_get.php">  <table width="695" border="1" align="center" cellpadding="1" cellspacing="1">    <tr>      <td width="167">账号:(account)</td>      <td width="416"><input name="m_acct" type="text" id="m_acct" value="<?php if(!empty($_GET['m_acct']))echo $_GET['m_acct'];?>" maxlength="20" />		<font color="#FF0000"> *</font>(由20个数字或字母组成)</td>    </tr>    <tr>      <td>密码:(password)</td>      <td><input name="m_pw" type="password" id="m_pw" maxlength="20" />      <font color="#FF0000"> *</font>(由20个数字或字母组成)</td>    </tr>    <tr>      <td>确认密码(password)</td>      <td><input type="password" name="pass" id="pass" />      <font color="#FF0000"> *</font>(再次输入密码)</td>    </tr>    <tr>      <td>真实姓名:(name)</td>      <td><input type="text" name="m_name" id="m_name" value="<?php if(!empty($_GET['m_name']))echo $_GET['m_name'];?>" /></td>    </tr>    <tr>      <td>性别:(sex)</td>      <td align="left"><p>        <label>          <input name="m_sex" type="radio" id="RadioGroup1_0" value="男" />          男</label>        <label>          <input type="radio" name="m_sex" value="女" id="RadioGroup1_1" />          女      <font color="#FF0000"> *</font></label></td>    </tr>    <tr>      <td>学号:(school number)</td>      <td><input type="text" name="m_snum" id="m_snum" value="<?php if(!empty($_GET['m_snum']))echo $_GET['m_snum'];?>" /></td>    </tr>    <tr>      <td>手机号码:(mobil phone)</td>      <td><input type="text" name="m_pnum" id="m_pnum" value="<?php if(!empty($_GET['m_pnum']))echo $_GET['m_pnum'];?>"/></td>    </tr>    <tr>      <td>电子邮箱:(email)</td>      <td><input type="text" name="m_email" id="m_email" value="<?php if(!empty($_GET['m_email']))echo $_GET['m_email'];?>"/></td>    </tr>    <tr>      <td colspan="2" align="center"><input type="reset" name="button" id="button" value="重置表单" />      <input type="submit" name="button2" id="button2" value="确定注册" /></td>    </tr>  </table></form></p><p align="center">以上打“*”为必填项</p></body></html>

有源码参考
http://www.5idev.com/p-php_user_reg_login_code.shtml

有源码参考
http://www.5idev.com/p-php_user_reg_login_code.shtml

   你这个怎么像个login.html  页面

注册在后面。

声明
本文内容由网友自发贡献,版权归原作者所有,本站不承担相应法律责任。如您发现有涉嫌抄袭侵权的内容,请联系admin@php.cn
PHP依赖注入容器:快速启动PHP依赖注入容器:快速启动May 13, 2025 am 12:11 AM

aphpdepentioncontiveContainerIsatoolThatManagesClassDeptions,增强codemodocultion,可验证性和Maintainability.itactsasaceCentralHubForeatingingIndections,因此reducingTightCightTightCoupOulplingIndeSingantInting。

PHP中的依赖注入与服务定位器PHP中的依赖注入与服务定位器May 13, 2025 am 12:10 AM

选择DependencyInjection(DI)用于大型应用,ServiceLocator适合小型项目或原型。1)DI通过构造函数注入依赖,提高代码的测试性和模块化。2)ServiceLocator通过中心注册获取服务,方便但可能导致代码耦合度增加。

PHP性能优化策略。PHP性能优化策略。May 13, 2025 am 12:06 AM

phpapplicationscanbeoptimizedForsPeedAndeffificeby:1)启用cacheInphp.ini,2)使用preparedStatatementSwithPdoforDatabasequesies,3)3)替换loopswitharray_filtaray_filteraray_maparray_mapfordataprocrocessing,4)conformentnginxasaseproxy,5)

PHP电子邮件验证:确保正确发送电子邮件PHP电子邮件验证:确保正确发送电子邮件May 13, 2025 am 12:06 AM

phpemailvalidation invoLvesthreesteps:1)格式化进行regulareXpressecthemailFormat; 2)dnsvalidationtoshethedomainhasavalidmxrecord; 3)

如何使PHP应用程序更快如何使PHP应用程序更快May 12, 2025 am 12:12 AM

tomakephpapplicationsfaster,关注台词:1)useopcodeCachingLikeLikeLikeLikeLikePachetoStorePreciledScompiledScriptbyTecode.2)MinimimiedAtabaseSqueriSegrieSqueriSegeriSybysequeryCachingandeffeftExting.3)Leveragephp7 leveragephp7 leveragephp7 leveragephpphp7功能forbettercodeefficy.4)

PHP性能优化清单:立即提高速度PHP性能优化清单:立即提高速度May 12, 2025 am 12:07 AM

到ImprovephPapplicationspeed,关注台词:1)启用opcodeCachingwithapCutoredUcescriptexecutiontime.2)实现databasequerycachingusingpdotominiminimizedatabasehits.3)usehttp/2tomultiplexrequlexrequestsandredececonnection.4 limitsclection.4.4

PHP依赖注入:提高代码可检验性PHP依赖注入:提高代码可检验性May 12, 2025 am 12:03 AM

依赖注入(DI)通过显式传递依赖关系,显着提升了PHP代码的可测试性。 1)DI解耦类与具体实现,使测试和维护更灵活。 2)三种类型中,构造函数注入明确表达依赖,保持状态一致。 3)使用DI容器管理复杂依赖,提升代码质量和开发效率。

PHP性能优化:数据库查询优化PHP性能优化:数据库查询优化May 12, 2025 am 12:02 AM

databasequeryOptimizationinphpinvolVolVOLVESEVERSEVERSTRATEMIESOENHANCEPERANCE.1)SELECTONLYNLYNESSERSAYCOLUMNSTORMONTOUMTOUNSOUDSATATATATATATATATATATRANSFER.3)

See all articles

热AI工具

Undresser.AI Undress

Undresser.AI Undress

人工智能驱动的应用程序,用于创建逼真的裸体照片

AI Clothes Remover

AI Clothes Remover

用于从照片中去除衣服的在线人工智能工具。

Undress AI Tool

Undress AI Tool

免费脱衣服图片

Clothoff.io

Clothoff.io

AI脱衣机

Video Face Swap

Video Face Swap

使用我们完全免费的人工智能换脸工具轻松在任何视频中换脸!

热门文章

热工具

安全考试浏览器

安全考试浏览器

Safe Exam Browser是一个安全的浏览器环境,用于安全地进行在线考试。该软件将任何计算机变成一个安全的工作站。它控制对任何实用工具的访问,并防止学生使用未经授权的资源。

ZendStudio 13.5.1 Mac

ZendStudio 13.5.1 Mac

功能强大的PHP集成开发环境

记事本++7.3.1

记事本++7.3.1

好用且免费的代码编辑器

VSCode Windows 64位 下载

VSCode Windows 64位 下载

微软推出的免费、功能强大的一款IDE编辑器

MinGW - 适用于 Windows 的极简 GNU

MinGW - 适用于 Windows 的极简 GNU

这个项目正在迁移到osdn.net/projects/mingw的过程中,你可以继续在那里关注我们。MinGW:GNU编译器集合(GCC)的本地Windows移植版本,可自由分发的导入库和用于构建本地Windows应用程序的头文件;包括对MSVC运行时的扩展,以支持C99功能。MinGW的所有软件都可以在64位Windows平台上运行。