Jump to content
xisto Community

kiro

Members
  • Content Count

    13
  • Joined

  • Last visited

About kiro

  • Rank
    Newbie [Level 1]

Contact Methods

  • Website URL
    http://
  1. Sorry for the mistakes guys.. thanks for the updates Carsten..
  2. I found a site that pays per click. here's the link: http://promo2.c-rewards.com/rea/spl/en/lxc/4/ I had friends use it and they told me it worked but i haven't tryed it personally
  3. I had a book that has a whole script like that. They used mysql for the database and stored and edited stuff from there, you can find lots of scripts at http://www.hotscripts.com/ I think thats what you mean..
  4. I found 2 sites with really good tutorials here they are: http://www.good-tutorials.com/ http://www.zymic.com/
  5. WOW! this is very nice. Works good.. Just wondering, i dont have dial-up, but i am asking for a friend, would this work on dialup or not?
  6. For sites, the ones that provide free proxy lists. If I block those, would they be blocking people's connections?
  7. Is there a way to block proxy connections. Like proxies that generate traffic that is fake for your site. People use proxy lists and then connect them to one site. Is there a way to block that?
  8. How much is your average WPM. Does it help you when you have faster speeds or do you have to think about script you are making
  9. Has anyone seen those systems where if someone goes into your house it goes to a computer and it says warnings and may call the police, does anyone have links to those things?
  10. Here's another site that has lots of scripts: http://forums.xisto.com/no_longer_exists/
  11. Shoutboxes are easy if you are doing it with mysql. Im not reallly good with putting stuff into files. But if I do a shoutbox with mysql, that has lots of features, it would probably take me a couple hours. If it has no features, probably like 20 mins. 6 mins is crazy!!!!
  12. Here's the guessing script, they guess a number and checks if they are right or wrong.. <form method="guess.php?action=yes"><input type="text" name="t_guess"><br><input type="submit" value="Guess"><?phpif($action==yes){//have the number that they are suppose to guess...$guess=14;//endif($t_guess==$guess){print "Good job! Guess was right!";}else{print "Guess was wrong! Try again!";}}?> Thats it
  13. Start register code. Register.php <form method=post action=register.php?action=register name=s><table><tr><td>Username:</td><td><input type=text name=user></td></tr><tr><td>Email:</td><td><input type=text name=email></td></tr><tr><td>Pass:</td><td><input type=password name=pass></td></tr><tr><td>Verify Pass:</td><td><input type=password name=vpass></td></tr><tr><td colspan=2 align=center><input type=submit value=Register></td></tr></table></form><?php//Login to your database. Make the fields of course..mysql_connect("localhost","user","pass");mysql_select_db("database");//end//if registering, check fields.if ($action == register) { if (!$user || !$pass || !$email || !$vpass) { print "You must fill out all fields."; exit; }$dupe1 = mysql_num_rows(mysql_query("select * from table where user='$user'")); if ($dupe1 > 0) { print "Someone already has that username."; exit; }$dupe2 = mysql_num_rows(mysql_query("select * from table where email='$email'")); if ($dupe2 > 0) { print "Someone already has that email."; exit; }//check if passwords are the same if ($pass != $vpass) { print "The passwords do not match."; exit; }//end//insertmysql_query("insert into table (user, email, pass) values('$user','$email','$pass')");print "You are now registered. Login.";}?> Now that you are done with register, make the login. Login.php <form method=post action=Login.php?action=login><table><tr><td>Email:</td><td><input type=text name=email></td></tr><tr><td>Pass:</td><td><input type=password name=pass></td></tr><tr><td colspan=2 align=center><input type=submit value=Login></td></tr></form></table><?phpif($action==login){//checkif (!$email || !$pass) { print "Please fill out all fields."; exit;}$logres = mysql_num_rows(mysql_query("select * from table where user='$email' and pass='$pass'"));if ($logres <= 0) { print "Login failed. If you have not already, please signup. Otherwise, check your spelling and login again."; exit;} else {//logged in, register the session.. session_register("email"); session_register("pass"); print "You are now logged in..";}}?> Now, this is members.php, it checks if the session is registered or not.. <?phpif (!session_is_registered("email") || !session_is_registered("pass")) { print "You need to login to view this page!! "; exit;}print "Content here";?> Ok, we are done, if you do not know how to do the mysql for the pages, here is the sql code: CREATE TABLE `table` ( `id` int(5) NOT NULL auto_increment, `user` varchar(255) NOT NULL default '', `email` varchar(255) NOT NULL default '', `pass` varchar(255) NOT NULL default '', PRIMARY KEY (`id`)) TYPE=MyISAM AUTO_INCREMENT=1; Thats it!
×
×
  • Create New...

Important Information

Terms of Use | Privacy Policy | Guidelines | We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.