dezkit
-
Posts
1,236 -
Joined
-
Last visited
Posts posted by dezkit
-
-
doesn't seem to work :/
-
like this, i want an uploader on one page (http://phishcave.com/upload/), then click to view all uploaded files, i have the uploader code, but how do i make like this (http://phishcave.com/r/)
-
thanks guys but its not what i wanted
here is my website
i created a subdirectory (a)
i made a blank index.php (so u guys can give me the code)
i created a subdirectory (b) in that subdirectory, i made 2 random html files,
how do i look whats in subdirectory(b) by the index.php in subdirectory(a) ?
-
how do i make an index of a subdirectory, where it shows all the files in the directory?
-
bumping please guys
-
bump....
-
bump
-
yeah thanks lol, but i prefer copy n paste instead of lessons, cuz i dont know half the things hes saying
-
its hard to find it on google
can anyone link me 1?
-
does anybody know a good register and login script thats really easy and user friendly?
-
peranha, thank you mate, i love you for all your time. you are the best person on the internet lol
-
-
i never installed mysql, it comes with the yahoo plan.
-
this is getting frustrating, should i contact Yahoo! ?
-
what should i use in my localhost, dezkit@localhost or just localhost?
-
its not, where can i dl it?
-
btw im using yahoo smallbusiness
-
edit: yea i see all of those words that i dont know
-
how do i make mysql run? lol
-
checklogin.php
<?php ob_start(); $host="localhost"; $username="dezkit"; $password="******"; $db_name="test"; $tbl_name="members"; mysql_connect("$host", "$username", "$password")or die("cannot connect"); mysql_select_db("$db_name")or die("cannot select DB"); $myusername=$_POST['myusername']; $mypassword=$_POST['mypassword']; $sql="SELECT * FROM $tbl_name WHERE username='$myusername' and password='$mypassword'"; $result=mysql_query($sql); $count=mysql_num_rows($result); if($count==1){ session_register("myusername"); session_register("mypassword"); header("location:login_success.php"); } else { echo "Wrong Username or Password"; } ob_end_flush(); ?>
-
everytime i put in "john" "1234" in the main_login.php and press submit, it says cannot connect
-
basicly this is my first time using and I TOTALLY SUCK! =p
can somebody please explain to do a simple register and login script. something like this one http://www.phpeasystep.com/workshopview.php?id=6
-
hi, hey, or whad up corbin,
thanks for the code man
-
how do i make multiples?
<?php // Define your username and password $username = "someuser"; $password = "somepassword"; if ($_POST['txtUsername'] != $username || $_POST['txtPassword'] != $password) { ?> <h1>Login</h1> <form name="form" method="post" action="<?php echo $_SERVER['PHP_SELF']; ?>"> <p><label for="txtUsername">Username:</label> <br /><input type="text" title="Enter your Username" name="txtUsername" /></p> <p><label for="txtpassword">Password:</label> <br /><input type="password" title="Enter your password" name="txtPassword" /></p> <p><input type="submit" name="Submit" value="Login" /></p> </form> <?php } else { ?> <p>This is the protected page. Your private content goes here.</p> <?php } ?>
index?
in PHP Coding Help
Posted
nevermind, works perfectly now, thanks!!!