Hi all i want to start a website and i want a form on it so people can sign up like a comunity but i cant link my submit buttons to my email address and i dont know how to make the whole account thing like the one i got when i registared to this site. can anyone help ?:$

Dani AI

Generated

Putting an email address directly into a form’s action is why the submit didn’t work: browsers either try to open a local mail client (mailto:) or don’t deliver the form data. was right to point you toward a server-side handler, and is also correct that your host must run server-side code (PHP, Node, etc.). ’s learning-resource tip is useful, but the next steps are about how to do a proper, secure signup + email flow rather than a quick mailto hack.

Minimal, practical flow to implement

  • Host with server-side support and a database (MySQL, MariaDB, PostgreSQL, etc.).
  • Build the HTML form to POST to a server endpoint (not to an email address).
  • Server-side: validate and sanitize inputs, hash passwords (do not store plain text), insert a row in a users table, generate a verification token and send a verification email with a tokenized URL.
  • On token click, mark the account verified and allow login; use secure sessions for authentication.

Example users table structure (simple starting point):

CREATE TABLE users (
  id INT AUTO_INCREMENT PRIMARY KEY,
  email VARCHAR(255) UNIQUE NOT NULL,
  password_hash VARCHAR(255) NOT NULL,
  created_at DATETIME DEFAULT CURRENT_TIMESTAMP,
  verified TINYINT(1) DEFAULT 0,
  verify_token CHAR(64)
);

Email and troubleshooting notes
Do not rely on the host’s basic send-mail if deliverability matters—many providers block or throttle it. Use an authenticated SMTP client or a transactional email API (SendGrid, Mailgun, etc.) or a library built for SMTP handling. If emails don’t arrive, check server error logs, SMTP credentials, port/firewall, and spam/SPF/DKIM settings.

Security & shortcuts
Always use password_hash/password_verify (or equivalent), prepared statements/parameterized queries, CSRF protection and HTTPS. If building this feels like too much, consider hosted auth solutions (Firebase Auth, Auth0) or a CMS membership plugin so you don’t roll your own every security detail. For a proven SMTP library and password-storage guidance, see PHPMailer and the OWASP Password Storage Cheat Sheet.

Recommended Answers

All 6 Replies

First off all, Do you have any knowledge of HTML.

U will need to create a form which would contain some textboxes and a submit button.

Try making this first and get back to us.

ok i have done the form and somone told me to put my email adress into the action tab but when i try it it does not work :S

Each of your form element will have a name associated with it.

So I assume you have something like this:

<form action="emailit.php" method="POST" >

Name:<input type = "text" name="name" />
Address:<input type = "text" name="addr" />
...
...
...
</form>

now to access it on the next page you'll need these variables and pass it to a mail function.
on a file called emailit.php

<?php
$message="Name: ".$_POST['name']; //same name as in the input form
$message.="Address:"$_POST['addr'];
mail('myemail@domain.com', $message, 'void' );
?>

for a complete options on emailing visit : http://au.php.net/mail

Put both files on a server and test it....

Thank you very very much for your time. this is a great site.

I would recommend that you visit http://www.w3schools.com, because they have many good tutorials on HTML, CSS, JavaScript and more.

Note that the server must have PHP for this to work.

Be a part of the DaniWeb community

We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts meeting, networking, learning, and sharing knowledge.