EOSERV Forum > Lounge > Website Sign Up Code
Topic is locked.
Page: << 1 >>
Website Sign Up Code
Author Message
Post #144356 Website Sign Up Code

I have my WAMP server set up, but I want a Sign up/Register page on my site. I need the code and how to insert it?

12 years, 47 weeks ago
Post #144357 Re: Website Sign Up Code

you have a MySQL database off-course?

12 years, 47 weeks ago
Post #144375 Re: Website Sign Up Code

Sign up code for your EOSERV server or just for the site in general ?

---
If money doesn't grow on trees, then why do banks have branches?
12 years, 46 weeks ago
Post #144393 Re: Website Sign Up Code
DanScott posted: (11th Jun 2012, 09:30 am)

Sign up code for your EOSERV server or just for the site in general ?


Well, I want people to beable to just sign up on my website
12 years, 46 weeks ago
Post #144416 Re: Website Sign Up Code

http://www.html-form-guide.com/php-form/php-registration-form.html

---
If money doesn't grow on trees, then why do banks have branches?
12 years, 46 weeks ago
Post #144417 Re: Website Sign Up Code

Thanks so much!

12 years, 46 weeks ago
Post #144419 Re: Website Sign Up Code

if you wanted a script to sign people up to your server via a website, check this out:

https://tehsausage.com/paste/index-html - UI to input the information for signing up to your server.

https://tehsausage.com/paste/datregistrationscript - Script to handle the signing up process.

---
If money doesn't grow on trees, then why do banks have branches?
12 years, 46 weeks ago
Post #144420 Re: Website Sign Up Code

Hmmm, couldn't they do that threw WEB-CP?

12 years, 46 weeks ago
Post #144432 Re: Website Sign Up Code

http://www.endless-edge.com/webcp/ I don't see any option to do that here. Maybe sausage could add it in the next release of webcp should there be one. 

---
If money doesn't grow on trees, then why do banks have branches?
12 years, 46 weeks ago
Post #144472 Re: Website Sign Up Code

that's what i got when i test it


<code>"); $password=hash('sha256',$SALT.strtolower($postuser).substr($postpass,0,12)); $currip=$_SERVER['REMOTE_ADDR']; $now=time(); $sql=mysql_query("INSERT INTO `accounts` (username,password,fullname,location,email,regip,lastip,created,lastused) VALUES('$postuser','$password','$postname','$postcountry','$postemail','$currip','$currip',$now,$now)"); if (!$sql){ die(mysql_error()); }else{ echo("account: ".$postuser." created successfully!
"); } } }else{ echo("Passwords do not match!"); } }else{ echo("database connection could not be made. Mysql error: ".mysql_error()); } ?>

</code>

12 years, 46 weeks ago
Page: << 1 >>
Topic is locked.
EOSERV Forum > Lounge > Website Sign Up Code