Jump to content

Mencarta

Members
  • Content Count

    182
  • Joined

  • Last visited

Everything posted by Mencarta

  1. Mencarta

    Height: 100%

    I try to make a long silver box that runs all the way to the bottom of the page. It won't do it though. Here are my pages:index.php <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"><html> <head> <title>PJH Drama Club, Home</title> <link rel="stylesheet" type="text/css" href="index.css" /> </head> <body> <ul> <li><a href="mettings.php" title="Upcoming Meetings">Upcomming Meetings</a></li> <li><a href="cast.php" title="Cast">Cas
  2. Mencarta

    Register System

    I'm now trying to make a register system. Here are my pages:register.php <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd"><html> <head> <title>$Prince Finance, Login</title> </head> <body> <form action="doregister.php" method="post"> Username: <input type="text" name="username" maxlength="13" /> <br /> Password: <input type="password" name="password" maxlength="13" /> <br /> Email: <input type="text" name="email" maxlength="200" /> <br />
  3. Mencarta

    Login System

    Its working. Thanks!
  4. Mencarta

    Login System

    I thought I didn't need session_start()...
  5. Mencarta

    Login System

    I get: Notice: Undefined variable: _SESSION in /www/zxq.net/p/r/i/princefinance/htdocs/validate.php on line 3
  6. Mencarta

    Login System

    What does: var_dump($_POST) do? So I should use: $HTTP_SESSION_VARS?
  7. Mencarta

    Login System

    Please help, seriously...
  8. Mencarta

    Login System

    Ya, well this works so I have no clue why:login.php <?php require_once("dbconnect.php"); //Include Database Connection Script session_start(); //Check Fields if (empty($_POST["username"]) || empty($_POST["password"])) { echo "Please Fill Out All Fields"; exit; } $username = mysql_real_escape_string($_POST["username"]); //Escape Username $password = mysql_real_escape_string($_POST["password"]); //EScape Password $password = sha1($password); //Convert Password To Sha1 $sql = "SELECT * FROM users WHERE username='$username' and password='$password'"; $result = mysql_query($sql); if (mysql
  9. Mencarta

    Login System

    Let me try that.Doesn't work.
  10. Mencarta

    Login System

    I have index.php: <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd"><html> <head> <title>$Prince Finance, Login</title> </head> <body> <form action="login.php" method="post"> Username: <input type="text" name="username" maxlength="13" /> <br /> Password: <input type="password" name="password" maxlength="13" /> <br /> <input type="submit" value="Log In" /> </form> </body></html> login.php: <?php require_once("dbconnect.php"
  11. Nice, but I have to say your PasteSite.Com is my favorite. If you have noticed I have even posted some stuff on there.
  12. Mencarta

    Fan Site

    You are thinking correct.
  13. OMGS! This has 820 views...
  14. Yep, they need to fix that.
  15. Yes, use this instead: body { background-color:COLOR; }
  16. It may be like <b> and <strong>. When saying it, it sounds different.
  17. Mencarta

    Binary Number

    I just used decbin() as explained here: http://php.net/manual/en/function.decbin.php
  18. Mencarta

    Binary Number

    Nevermind, I found the answer.
  19. Mencarta

    Binary Number

    How would I convert an integer to its binary form? I want to take a character and translate it to binary. Here is my code so far: $char = A$char = (int) $char Thanks.
  20. I'm pretty sure that would generate an error.
  21. Mencarta

    Redirect?

    Thanks for the lesson, lol.
  22. Thanks, I'll have to take a look at it.
×
×
  • Create New...