answersLogoWhite

0

How do you create an HTML sign up?

User Avatar

Anonymous

14y ago
Updated: 8/17/2019

An HTML signup form is kind if hard. It may be impossible, but it's easy to achieve with PHP. Here is an example:

signup.htm

<form method="post" action="signup.php" name="signup">

Username: <input type="text" name="usrnme" size="20" />

<br /><br />

Password: <input type="password" name="pw" size="20" />

<br /><br />

Confirm Password: <input type="password" name="pwc" size="20" />

<br /><br />

email Address: <input type="text" name="email" size="20" />

<p align="center"> <button type="submit">Submit</button> &nbsp; <button type="reset">Reset</button></p>

</form>

and now...

signup.php

$usrnme = "$_POST['usrnme']";

$pw = "$_POST['pw']";

$pwc = "$_POST['pwc']";

$email[usr] = "$_POST['email']";

$email[you] = "bob@domain.com"; /* Change that email to yours */

if($pwc != $pw) {

echo "Sorry, your passwords do not match. Please go back and fix it.";

}

else {

echo "Thank you for signing up."

$sendmail = "1"

//This script will send mail to the user that signed up. Set to 1 to enable

if($sendmail == "1") {

$message[usr] = "

Thank you for signing up, $usrname";

$subject[usr] = "Thank you for signing up, $usrnme. Your password is $pw.";

mail($email[usr],$subject[usr],$message[usr]);

}

else{}

// This sends a message alerting you that someone signed up.

$subject[you] = "Someone signed up!";

$message[you] = "

Someone signed up at your site. Here is his details:

Username: $usrnme

Password: $pw

Emaill Address: $email";

mail($email[you],$subject[you],$message);

}

And that's it!

User Avatar

Wiki User

14y ago

What else can I help you with?

Related Questions

What the major problem to create a HTML?

There are no such problems to create HTML pages. All you need to do is create an HTML document and run it on a browser.


Need of HTML?

The need of HTML is to create fancy webpages. With HTML, novice users can create webpages as well.


How you can create webpage and how you can up date daily?

You can create a web page easily with HTML. Keeping it up to date can also be done with it easily.


Why cant you sign up for codysimpsoncom?

you have to be over 13 to sign up and create an account at codysimpson.com


How do you create a gameworld?

you sign up or register to create a game world


What type of pages are created with the help of HTML?

You can create any type of pages using HTML because html is a language used to create web pages for display in browser. And you can also create a static page by using HTML.


How can you put your HTML document in the web?

The 'hardcore' way of doing it is hosting a server on your own computer, but for people who wants to keep it simple, you should sign up for a website like Webs.com and sign up for a free account. Then you can downgrade the account from the template style to HTML-only type. This enables you to post your custom HTML on the web in a simple and easy manner.


Why is HTML required?

HTML is required to create web pages.


What is the significance of HTML in web designing?

HTML is a formatting language that tells a browser how to display content. You can not create a Webpage without HTML. Many web designers will create the HTML in the background for you.


Where can I sign up for cna classes?

You can sign up for cna classes at www.nc-cna-training.com/cprclassdates.htm. Another good website is www.articlesbase.com/.../cheap-and-free-cna-training-1754599.html


Where can i get help with HTML?

HTML, or Hyper Text Mark-Up Language, is used to create web pages. If you want to create one, you can start with a text -editing program such as notepad or textpad, or a program like Adobe Dreamweaver or Microsoft Frontpage.


What delimiters are used to denote HTML tag?

Every HTML tag starts with a less-than sign (&lt;) and ends with a greater-tan sign (&gt;).