Jump to content

MDCode

Members
  • Posts

    640
  • Joined

  • Last visited

  • Days Won

    1

Everything posted by MDCode

  1. I have to agree with them. Seeing as you are not showing the entire page it does not help either
  2. You're setting everything back to nothing without even checking.
  3. First I checked the contact page of course O.o It seems weird the information you're asking. As well as when you submit the form it says new password sent...? k... You have a few 404 errors here and there. When you log in with invalid credentials the error message is weirdly placed (in the bottom right corner). The links once logged in are hard to read as well. And then....the index page went blank so nothing else I could look at. That's it I guess
  4. Anytime it says unexpected $end it means you're missing one or more closing brackets
  5. Do you have error reporting on? I see nothing other than the form not putting anything to get in the url. Btw you're opening up to sql injection by not filtering the $_GET["query"]
  6. You misspelled mysql_error there may be a problem with your query. (Doubtful)
  7. There is a freelance section for this.
  8. Edit: ^^ Which line is 261?
  9. If they're not defined where do you expect to get the information from...
  10. I would do it after validation since there's no security risk in validating like you are first.
  11. There are plenty of sites that allow people to use private mysql databases through their site. However secure I'm not sure. Perhaps another person who knows can tell you but might be worth looking into
  12. Did you change the file permission...?
  13. The point of htmlentities was if they were to display anything that was input. But now that you mention it..my bad
  14. $resize_rename = $uploadPath.$randomnum._.$removed_symbols; To be honest your code looks very messy. I believe you would edit this line but I have no idea what you're doing to it
  15. You don't need the parentheses around $_POST['variable'] Also, in case you are ever going to display the information anywhere you want to add htmlentities to your sanitizing
  16. <?php $blah = htmlentities($_POST['whatever']); if($blah == "something") { header("Location: client/clientname"); } ?>
  17. Insert into the database the first how many or so questions. Then load something like page.php?set=2 or something for the next questions. For the final score, just select all of the answers out of the database and display the amount correct
  18. Mwahaha I win...I guess. Go me!
  19. Ok I officially fail at helping this topic...and it's probably the smallest thing ever :/ One last try. In your while loop you are incrementing $i by 1 every time.
  20. You are not issuing any errors if your query is incorrect, which is what I suspect. Without knowing your database structure it would be impossible add echo mysql_error(); before your mysql_close();
  21. That might be it, I don't remember whether it requires an argument or not Try it and see as there are connection properties happening below it
  22. You see where you're using mysql_close(); ?
  23. *mind blown* lol
×
×
  • 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.