FRIHOST FORUMS SEARCH FAQ TOS BLOGS COMPETITIONS
You are invited to Log in or Register a free Frihost Account!


members signing up





harry4265
How can i get members to sign up to my site, what code do i need? I need this code as soon as possible, Thanks in advance Smile
DanielXP
any more detials?

mysql
flat file

???????
harry4265
well i am new to all this all i was wanting to know is how can i get people to sign up to my website wat code do i need what do i use for members to sign up
DanielXP
got to hotscripts.com they have loads of ready made script to download!
raver
and also try using the search form... i believe i wrote some basic registration/authentification code for someone around here a while back Wink
DanielXP
Or you can go to techtuts.com
harry4265
Thanks Guys Very Happy

You helped alot, I willl try all of them, now my site will be able to have its own members. Cool cool
NG
you can always try a basic members area

Step 1
Copy the below form into a new php document:

Code:
<form name="pp" method="post" action="check.php">
<input type="password" name="pass">
<input type="submit" value="Log In">
</form>


Ok we have a form and an input, called pass.
When they click Log In it will take them to check.php

Step 2
So create a new document called check.php and use the below code:

Code:
<?php
if ($_POST['pass'] == "PasswordHere") {
include ("welcome.php");
}
else {
header("Location: error.php");
}
?>

So this is an if and else statement, replace PasswordHere with the password you want to use!

Step 3
If the password in the form and your password match then it will keep check.php but actually load inside it welcome.php If its wrong it will redirect them to error.php
Related topics
Site Staff Members and MediaWiki Editors Wanted
Anyone noticed the rise in new member spammers?
Why don't add Chinese in'Other Languages' board
How many forum members...
Members!
members area
DREAM THEATER
Congratulations! Frihost has 6000 registered members.
Tips on getting Members
Next 11 members who joins comicstrips.be get 10 frih$
5frih$ For first 10 members! Chance to win 10 more! [new!]
frih$5 for the first 10 members who join my forum!
'members only' section of website
30 frish$ wo can get 10 new members on my forum
Reply to topic    Frihost Forum Index -> Scripting -> Php and MySQL

FRIHOST HOME | FAQ | TOS | ABOUT US | CONTACT US | SITE MAP
© 2005-2011 Frihost, forums powered by phpBB.