Jump to content


  • Posts

  • Joined

  • Last visited


Everything posted by revraz

  1. You should be checking your query's each time you execute them for errors.
  2. You don't say what the actual problem is.
  3. Set a session in your login.php and then check that session variable on your other pages to determine if they are logged in or not.
  4. I would suggest posting in the freelance section and get someone to do it for you. Plenty of people are willing to help out.
  5. Also found in the FAQ Section of the Forums http://www.phpfreaks.com/forums/index.php?topic=95867.0
  6. Do you have a space in your email address? Paste the echo.
  7. This is what your query looks like: Select movie_name, movie_typefrom moviewhere movie_year>1990 order by movie_type
  8. And what is the URL that brings you to this page?
  9. So you are storing your password in plain text?
  10. What are you trying to accomplish here? $query = "SELECT ip, username FROM users WHERE ip<>'$ip' AND username<>'$username'";$result = mysql_query($query); while($row = mysql_fetch_assoc($result)){mysql_query("INSERT INTO users (ip, username, password) VALUES('$ip', '$username', '$pass')"); $msg="You registered successfully!"; $window="login.php"; Also, you should count rows that are returned and use IF statements instead of GOTOs, would much more standard.
  11. If you only need to work with that data that you pulled, then yes, you can close the connection to the DB.
  12. Huh? You have to pull it from the DB to populate the Array. After that, you reference the Array.
  13. Could just process the form on the same page, or set a session variable and when you return back to the signup page display the error.
  14. Can you post the actual SQL error? And why don't you just use the MySQL NOW() for current date/time?
  15. I think he wants the SUM, so why not just add them together?
  16. The LIMIT would be the current row# -5. So if you were on record 10, it would be LIMIT 5, 15
  17. Of course, why not? Since each row returns can have a ID, you just update that ID.
  18. $sessionid = ""; Why does it have to be destroyed, just overwrite it? I think you are confusing variables with session variables.
  19. $sessionid isn't destroyed, $_SESSION is destroyed.
  20. Any string can be a variable.
  21. A better way would to not use the ID in the URL and use a session to pass it instead.
  22. sha or md5 with a salt are both effective.
  23. Depends on what your site does. If you are asking, I'm assumming you know know what SSL is?
  • Create New...

Important Information

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.