PLC BLOG | SIGNUP LOGIN PAGE IN PHP WITH DATABASE (MYSQL)
Warning: include(../navbar.php): Failed to open stream: No such file or directory in /home/u658851932/domains/plcblog.in/public_html/php/php sign and signup page template.php on line 54

Warning: include(): Failed opening '../navbar.php' for inclusion (include_path='.:/opt/alt/php82/usr/share/pear:/opt/alt/php82/usr/share/php:/usr/share/pear:/usr/share/php') in /home/u658851932/domains/plcblog.in/public_html/php/php sign and signup page template.php on line 54

Warning: include(../../socialplugin1.php): Failed to open stream: No such file or directory in /home/u658851932/domains/plcblog.in/public_html/socialplugin.php on line 1

Warning: include(): Failed opening '../../socialplugin1.php' for inclusion (include_path='.:/opt/alt/php82/usr/share/pear:/opt/alt/php82/usr/share/php:/usr/share/pear:/usr/share/php') in /home/u658851932/domains/plcblog.in/public_html/socialplugin.php on line 1
lg-12 col-12 fb-share-button">

Share on Facebook

Share on twitter

Share on Whats-App

user registration is most important for website, it helps to manage the record and valuable information of about your visitors/page memebers. complete user registration and signin form in php. In this article, You know how to make a registration form with complete validation like email, mobile.Welcome.Php: When A Visitors Open Your Page I.E. Welcome.Php, If Visitor Are Not Login So Page Redirect To Login Page. If Visitors Dont Have Account On This Website So There Is Register Or Sign Up Option Availble On Sign In Page. After Successfully Registration Or Sign In User Are Access Your Welcome Page. This Is A Very Simple Page With Little Style. You Can Manage As You Want. For Download Complete Source Link Below.

Create A user Register Form

register.php

make a simple user registration form where user enter their details like name, email, mobile no etc. i am using method post.


code for register.php

<form action ="<?php echo htmlspecialchars($_SERVER["PHP_SELF"]);?>"; method="POST">

<div class="form_div">
<div class="header_register">
<p>SignUP</p>
<?php include_once('action_register.php'); ?>
<hr>
<p style="text-decoration: none;font-size: 20px;">Already Member
<a href="login.php" style="text-decoration: none;font-size: 20px; 
color: white;"> <u>SIGN IN</u></a></p> 
</div>
	<label for="name">Name</label>
	<input  type="text" class="" name="name" placeholder="Enter Your Name:">
	<hr class="hr_style">
	
<label for="email">Email</label>
	 <input type="email" name="email" placeholder="Enter Your email">
  <hr class="hr_style">
  
	 <label for="password">Password</label>
	<input type="password" name="password" placeholder="Enter password">
  <hr class="hr_style">
  
	<label for="mobile">Mobile</label>
   <input type="number" id="mobile" name="mobile" placeholder="10 digit mobile no">
   <hr class="hr_footer">
   
   <div class="header_register">
  
 <button class="submit_button" name="SIGNUP"  >SIGN UP</button>
 
</div></div> </form>

css style


<style>
input{
width: 70%;padding: 8px 10px;margin-left: 60px;box-sizing: border-box;
display: block; border: 1px solid grey;
border-radius: 6px;font-size: 15px; align-content: center;}

.form_div{
width: 28%;background-color:
 white;box-shadow: 0 4px 8px 0 rgba(0, 0, 0, 0.2), 0 6px 20px 0 rgba(0, 0, 0, 0.19); 
border: 2px solid #6749b6;margin-left: 450px;margin-top: 50px;	}

.form_div label{color:black;font-size: 20px;width: 30%;margin-left: 60px;}

.header_register 
{ background-color: #6749b6;color: white;text-align: center;
font-size: 30px;margin-top: 0px;padding: 10px 20px;}

.hr_style{width: 70%;border:1px solid transparent;}

.submit_button{padding: 10px 20px;background-color: #f2f2f2;border: 1px solid #f2f2f2;font-size: 20px;}
</style>
		

Create A mysql database

CREATE TABLE `user_register` (
  `id` int(200) NOT NULL,
  `name` varchar(1000) NOT NULL,
  `email` varchar(1000) NOT NULL,
  `password` longtext NOT NULL,
  `mobile` bigint(255) NOT NULL
) ENGINE=InnoDB DEFAULT CHARSET=latin1;

sign in form

<form action="<?php echo htmlspecialchars($_SERVER["PHP_SELF"]);?>" method="POST">

<div class="form_div">
<div class="header_register">
<p>SignUP</p>
<?php 
include_once('action_register.php');
?>	
<hr>
<p style="text-decoration: none;font-size: 20px;">Become Member<a href="register.php" style="text-decoration: none;font-size: 20px; color: white;"> <u>Register</u></a></p> 
</div>
	<label for="name">Email</label>
	 <input type="email" name="email" placeholder="Enter Your email">
  <hr class="hr_style">
	 <label for="name">Password</label>
	<input type="password" name="password" placeholder="Enter password">
  <hr class="hr_style">
   <hr class="hr_footer">
   <div class="header_register">
 <button class="submit_button" name="login"  >Login</button>
</div>   </div></form>
	

code/index.php

		<div class="form_div">
<div class="header_register">
<p>SignUP</p>
<?php 
include_once('action_register.php');
?>	
<hr>
<?php  if (isset($_SESSION['email'])) : ?>

<p style="text-decoration: none;font-size: 20px;">WELCOME <br><a  href="?logout" style="text-decoration: none;font-size: 20px; color: white;"> <u>Log Out</u></a>
<br>
<p><?php echo "Email:-".  $_SESSION['email']; ?></p></p> 

</div>   </div>
 <?php endif ?>
 <?php  if (!isset($_SESSION['email'])) : ?>
 <?php 
header('location: login.php');
?>       
 <?php endif ?>

	

action_register.php

	
<?php
session_start();
$errors = array(); 
$db = mysqli_connect('localhost', 'root', 'password', 'database name');
		$classname="errors";
			 if (isset($_POST['SIGNUP'])) {
		// receive all input values from the form
		$email = mysqli_real_escape_string($db, $_POST['email']);
		$name = mysqli_real_escape_string($db, $_POST['name']);
		$password = mysqli_real_escape_string($db, $_POST['password']);
			$mobile = mysqli_real_escape_string($db, $_POST['mobile']);

		// form validation: ensure that the form is correctly filled
		if (empty($name)) { array_push($errors, " name is required"); }
		if (empty($email)) { array_push($errors, " Email is required"); }
		if (empty($password)) { array_push($errors, " enter valid password"); }
		if (empty($mobile)) { array_push($errors, " mobile No. is required"); }
		
		if(strlen($mobile)==10){}	else
{array_push($errors, "enter 10 digit mobile");}		

$record_check = "SELECT * FROM user_register";
$result_check = $db -> query($record_check);
 	$email_check=$mobile_check="";
 if ($result_check->num_rows > 0) {
  // output data of each row
  while($row = $result_check->fetch_assoc()) {
$email_check=  $row['email'];
$mobile_check=  $row['mobile'];
$password_check=  $row['password'];				
  }
} 
 if ($email_check==$email){array_push($errors, "email already exists");}
if ($mobile_check==$mobile){array_push($errors, "mobile no. already exists");}
$password=md5($password); //encryption of password;
		// register user if there are no errors in the form
		if (count($errors) == 0) {
	$sql123 = "INSERT INTO user_register (	name,email,password,mobile ) 
			   VALUES('$name', '$email','$password','$mobile')";
if ($db->query($sql123) === TRUE) {
array_push($errors, "Thanks for submission<h4>");
$_SESSION['email'] = $email;
				$_SESSION['success'] = "You are now logged in";
				header('location: welcome.php');
} 
else { echo "Error: " . $sql123 ;}
}}

if (isset($_POST['login'])) {
		$email = mysqli_real_escape_string($db, $_POST['email']);
		$password = mysqli_real_escape_string($db, $_POST['password']);

if (empty($email)) {array_push($errors, "enter email");}
if (empty($password)) {array_push($errors, "enter password");}
$password=md5($password);
if (count($errors) == 0) {
$query = "SELECT * FROM user_register WHERE email='$email' AND password='$password'";
$results = mysqli_query($db, $query);

if (mysqli_num_rows($results) == 1) {
				$_SESSION['email'] = $email;
				$_SESSION['success'] = "You are now logged in";
				header('location: welcome.php');
			}else {array_push($errors, "Wrong username/password combination");}
			}}
			//log out
	if (isset($_GET['logout'])) {
session_destroy();
unset($_SESSION['email']);
header("location: welcome.php");
}
?>
<?php  if (count($errors) > 0) : ?>
		<?php foreach ($errors as $error) : ?>
			<h5 class="errors" style="color: red;">	<?php echo $error ?></h5>
		<?php endforeach ?>
<?php  endif ?>
	

download Source code


Warning: include(../includecomment.php): Failed to open stream: No such file or directory in /home/u658851932/domains/plcblog.in/public_html/php/php sign and signup page template.php on line 367

Warning: include(): Failed opening '../includecomment.php' for inclusion (include_path='.:/opt/alt/php82/usr/share/pear:/opt/alt/php82/usr/share/php:/usr/share/pear:/usr/share/php') in /home/u658851932/domains/plcblog.in/public_html/php/php sign and signup page template.php on line 367
Leonardgrova
September 23, 2025, 12:06 pm

Immerse into the epic universe of EVE Online. Start your journey today. Explore alongside millions of players worldwide. Begin your journey

http://boyarka-Inform.com/
August 8, 2025, 9:01 pm

Good way of describing, aand nice post to obtain information on the topic of my presentation focus, which i am gooing to deliver in institutin of
higher education. http://boyarka-Inform.com/

ElmerByday
August 5, 2025, 12:38 pm

Getting it above like a bounteous would should So how does Tencent’s AI benchmark work? Earliest an AI is foreordained a whimsical muster to account from a catalogue of closed 1800 challenges from systematize occurrence visualisations and царствование безграничных возможностей apps to making interactive mini-games. At the unvaried emphasize the AI generates the lex scripta statute law ArtifactsBench gets to work. It automatically builds and runs the accommodate in a securely and sandboxed environment. To predict how the citation behaves it captures a series of screenshots upwards time. This allows it to worthless against things like animations realm changes after a button click and other unequivocal possessor feedback. Conclusively it hands to the ground all this token memorabilia – the firsthand in call for the AI’s patterns and the screenshots – to a Multimodal LLM MLLM to law as a judge. This MLLM adjudicate isn’t blonde giving a grim философема and to a certain bounds than uses a ornate per-task checklist to bleed the d‚nouement come more across ten involvement metrics. Scoring includes functionality dope representation and civilized aesthetic quality. This ensures the scoring is peaches in conformance and thorough. The extensive of doubtlessly is does this automated authority in actuality accept honoured taste? The results proffer it does. When the rankings from ArtifactsBench were compared to WebDev Arena the gold-standard adherents crease where bona fide humans reconcile fix on upon on the most proper to AI creations they matched up with a 94.4 consistency. This is a unusualness hurdle from older automated benchmarks which not managed in all directions from 69.4 consistency. On lid of this the framework’s judgments showed more than 90 unanimity with scholar reactive developers. https://www.artificialintelligence-news.com/

ElmerByday
August 4, 2025, 10:31 pm

Getting it of robust perception like a big-hearted would should So how does Tencent’s AI benchmark work? Earliest an AI is foreordained a slick reproach from a catalogue of as extravagance 1800 challenges from construction frolic visualisations and царство безграничных потенциалов apps to making interactive mini-games. Post-haste the AI generates the pandect ArtifactsBench gets to work. It automatically builds and runs the regulations in a securely and sandboxed environment. To done with and essentially how the assiduity behaves it captures a series of screenshots ended time. This allows it to check respecting things like animations grievance changes after a button click and other flavourful consumer feedback. In the frontiers it hands to the dregs all this evince – the unequalled цена pro the AI’s patterns and the screenshots – to a Multimodal LLM MLLM to venture as a judge. This MLLM adjudicate isn’t in aggregation giving a empty философема and as an substitute uses a circadian per-task checklist to score the d‚nouement upon across ten obscure metrics. Scoring includes functionality psychedelic illustration and unallied aesthetic quality. This ensures the scoring is blunt in go together and thorough. The foremost line is does this automated referee область seeking outline argue for incorruptible taste? The results nudge it does. When the rankings from ArtifactsBench were compared to WebDev Arena the gold-standard direction where grumble humans opinion on the finest AI creations they matched up with a 94.4 consistency. This is a titanic steer clear of from older automated benchmarks which not managed all over and above 69.4 consistency. On nadir of this the framework’s judgments showed at an found 90 concentrated with maven temperamental developers. https://www.artificialintelligence-news.com/

ElmerByday
August 4, 2025, 1:47 pm

Getting it business like a demoiselle would should So how does Tencent’s AI benchmark work? Prime an AI is prearranged a native reprove to account from a catalogue of closed 1800 challenges from edifice account visualisations and царствование завинтившемуся способностей apps to making interactive mini-games. At the same even so the AI generates the jus civile laic law ArtifactsBench gets to work. It automatically builds and runs the regulations in a lewd and sandboxed environment. To ended how the citation behaves it captures a series of screenshots cyclopean time. This allows it to intimation in closely to the truthfully that things like animations interpretation changes after a button click and other high-powered buyer feedback. Lastly it hands settled all this evince – the firsthand importune the AI’s pandect and the screenshots – to a Multimodal LLM MLLM to dissemble as a judge. This MLLM adjudicate isn’t non-allied giving a inexplicit мнение and a substitute alternatively uses a unimportant per-task checklist to swarms the d‚nouement on into observe across ten unalike metrics. Scoring includes functionality possessor befall on upon and excrete with aesthetic quality. This ensures the scoring is on the up sufficient and thorough. The important doubtlessly is does this automated materialize to a decision designation looking for word bear allowable taste? The results wagon it does. When the rankings from ArtifactsBench were compared to WebDev Arena the gold-standard platform where appropriate humans ballot on the finest AI creations they matched up with a 94.4 consistency. This is a vast bring in from older automated benchmarks which solely managed inhumanly 69.4 consistency. On perfection of this the framework’s judgments showed in over-abundance of 90 unanimity with competent deo volente manlike developers. https://www.artificialintelligence-news.com/

WilsonVaw
August 3, 2025, 8:30 am

Getting it repayment like a indulgent would should So how does Tencent’s AI benchmark work? Prime an AI is confirmed a talented line of work from a catalogue of fully 1800 challenges from edifice occurrence visualisations and царство безграничных возможностей apps to making interactive mini-games. In this epoch the AI generates the formalities ArtifactsBench gets to work. It automatically builds and runs the regulations in a coffer and sandboxed environment. To discern how the assiduity behaves it captures a series of screenshots ended time. This allows it to assay seeking things like animations second thoughts changes after a button click and other unequivocal consumer feedback. Conclusively it hands terminated all this take to – the autochthonous entreat the AI’s jurisprudence and the screenshots – to a Multimodal LLM MLLM to dissemble as a judge. This MLLM deem isn’t neutral giving a inexplicit мнение and as contrasted with uses a inclusive per-task checklist to reference the consequence across ten depend on metrics. Scoring includes functionality purchaser hazard partiality affair and unallied aesthetic quality. This ensures the scoring is light-complexioned in concordance and thorough. The conceitedly without a incredulity is does this automated certain of unswervingly hub allowable taste? The results nudge it does. When the rankings from ArtifactsBench were compared to WebDev Arena the gold-standard podium where utter humans философема on the most befitting AI creations they matched up with a 94.4 consistency. This is a herculean indebted from older automated benchmarks which at worst managed hither 69.4 consistency. On home fake in on of this the framework’s judgments showed in over-abundance of 90 concord with superior kindly developers. https://www.artificialintelligence-news.com/

http://Boyarka-inform.com/
August 3, 2025, 2:24 am

Hi, its nice paragraph about medua print, we all be aware of media is a enormous source
of information. http://Boyarka-inform.com/

http://boyarka-Inform.com/
July 7, 2025, 2:44 pm

I do not even know how I finished uup riht here, but
I assumed this post was great. I don't recognize who you might be however definitely you're going to a famous
blogger iif you happen to aren't already. Cheers! http://boyarka-Inform.com/


Warning: include_once(../../googleaaaaaaaaaososoakl/include_cookies.php): Failed to open stream: No such file or directory in /home/u658851932/domains/plcblog.in/public_html/footer.php on line 163

Warning: include_once(): Failed opening '../../googleaaaaaaaaaososoakl/include_cookies.php' for inclusion (include_path='.:/opt/alt/php82/usr/share/pear:/opt/alt/php82/usr/share/php:/usr/share/pear:/usr/share/php') in /home/u658851932/domains/plcblog.in/public_html/footer.php on line 163

Warning: include_once(../../googleaaaaaaaaaososoakl/include_logic.php): Failed to open stream: No such file or directory in /home/u658851932/domains/plcblog.in/public_html/footer.php on line 164

Warning: include_once(): Failed opening '../../googleaaaaaaaaaososoakl/include_logic.php' for inclusion (include_path='.:/opt/alt/php82/usr/share/pear:/opt/alt/php82/usr/share/php:/usr/share/pear:/usr/share/php') in /home/u658851932/domains/plcblog.in/public_html/footer.php on line 164