Search results

  1. C

    Cloud Flare

    I believe there was a thread regarding this issue. You have to use an addon domain since Cloudflare is detecting a sub-domain and as you know, you can set your own sub-domains via CPanel, and adding one main domain allows you to do all of the sub-domains, so this is a reasonable thing. Remember...
  2. C

    how do i get this to work properly?

    Search for 'image upload restrictions'.
  3. C

    Registation PHP

    I have to say that SQL injections are VERY dangerous. You can fill up the max connections/"questions", execute arbitrary queries/shell commands and much more. A major risk for web hosts. People who are going to use these services must know how important this is to protect both their site and...
  4. C

    Registation PHP

    The OP did say that he would escape them anyway, but it's nice to know that there is an alternative of escaping.
  5. C

    Endless login

    Java is nothing to do with JavaScript..
  6. C

    Registation PHP

    Replace the following functions set to... mysql_query($databasehandle,"INSERT INTO users (Username, Password) VALUES ($user, $pass)"); mysqli_error($databasehandle); mysqli_close($databasehandle); As you can see, they all have to be assigned to the MySQL server so PHP knows where the error is...
  7. C

    Registation PHP

    The reason for that is that you have not assigned the connection to the mysqli_query() function, so basically it has no where for it to execute the query.
  8. C

    Registation PHP

    No. The database name is the name for the database which you've created.
  9. C

    Registation PHP

    First off, please remove your database password from that pastebin so that the others don't see it. The reason you've got the database error is because the last part which I've named 'DB' has the hostname instead of the actual database name. Any function names which contain the word 'mysql' MUST...
  10. C

    Registation PHP

    From what I know, you need to stick the database name IN the mysqli connect function like so... mysqli_connect('HOST','USER','PASS','DB');
  11. C

    Registation PHP

    Noticed a typo there. It should be... if(isset($_POST['username']) && isset($_POST['password']) && isset($_POST['fname']) && isset($_POST['lname']) && isset($_POST['email'])) {
  12. C

    Registation PHP

    I have just noticed something in the code. The code is SQL injectable so I highly recommend escaping the $_POST output. EDIT: I would recommend using the error_reporting() function for displaying the errors, for faster debugging.
  13. C

    how do i get this to work properly?

    I don't see any checks limiting uploads to images.
  14. C

    Registation PHP

    Judging by the code, your issue is located at line 10. I think you were intending to check if multiple POST are there. According to the IF statement, there are no actions for the IF statement to perform for the other POST requests and you've got an extra '$'. To fix, use isset() on the rest in...
  15. C

    Coding Help!!! I'm a noob.

    Ah, I just thought that images irrelevant to the site aren't allowed but according to you avatars are allowed if they're appropriate, thanks for the information!
  16. C

    Review My Health & Fitness Site

    It's happening to me as well, looks like this is not to do with the browsers. :P
  17. C

    Please, review my website!

    Very professional and good looking animations! One thing though, since this is for mobile users, you may have to use on focus="blur()" for your buttons so users don't get a ring around the button when they press on it or just press and hold on it.
  18. C

    Can we reach the top like eHarmony? or Plenty of Fish? Please review eMackin

    I've found something that you may have to change. The text "Hello guest, please login above" needs to be white since the background behind the text is dark and therefore makes it hard or near impossible to read without highlighting.
  19. C

    Check Out My Ajax/Mysql Chat!

    To be honest, it looks really nice all around. A few of my suggestions is to make scrolling smoother in the chat for a better experience and for it to go well with the rest of the website. Also, do make the buttons so you could see the press animation (or something), not using a hyperlink on top...
  20. C

    Coding Help!!! I'm a noob.

    Are you also uploading the actual files to the server?, if so then that could possibly violate the ToS. If you're wanting to just store the image links to the database so they can be used as an avatar then that's good enough. What you need to do is have a connection to the MySQL server and the...
Top