Recent content by Ratchetr

  1. R

    HTML/JavaScript onmouseover misses spots?

    In Chrome, look under the Tools menu, and open Developer Tools. Position the tools window so you can see as much of your web page as possible. Click the elements button in top left. Now hover your mouse over each element in the HTML in left tab. That will let you see where each element is...
  2. R

    How is AND decision helpful in programming?

    IF User.HasCake AND User.EatsCake THEN * * return "You can't have your cake and eat it too!" ELSE * * return "You are OK"
  3. R

    In php, how do you figure out the number of items in a numeric array?

    A quick Google tells me this should work: $a = count($hello); But I don't really know PHP, so I could be wrong.
  4. R

    PHP: How to MD5 encrypt before sending form using GET method?

    It is possible to generate an MD5 hash code with JavaScript, but it doesn't really provide you much additional security. It also fails if the user has JavaScript disabled. The reason it isn't any more secure than a plain text password is that the MD5 hash essentially becomes the password. If I...
  5. R

    PHP: How to MD5 encrypt before sending form using GET method?

    It is possible to generate an MD5 hash code with JavaScript, but it doesn't really provide you much additional security. It also fails if the user has JavaScript disabled. The reason it isn't any more secure than a plain text password is that the MD5 hash essentially becomes the password. If I...
  6. R

    PHP: How to MD5 encrypt before sending form using GET method?

    It is possible to generate an MD5 hash code with JavaScript, but it doesn't really provide you much additional security. It also fails if the user has JavaScript disabled. The reason it isn't any more secure than a plain text password is that the MD5 hash essentially becomes the password. If I...
  7. R

    PHP: How to MD5 encrypt before sending form using GET method?

    It is possible to generate an MD5 hash code with JavaScript, but it doesn't really provide you much additional security. It also fails if the user has JavaScript disabled. The reason it isn't any more secure than a plain text password is that the MD5 hash essentially becomes the password. If I...
  8. R

    PHP: How to MD5 encrypt before sending form using GET method?

    It is possible to generate an MD5 hash code with JavaScript, but it doesn't really provide you much additional security. It also fails if the user has JavaScript disabled. The reason it isn't any more secure than a plain text password is that the MD5 hash essentially becomes the password. If I...
  9. R

    PHP: How to MD5 encrypt before sending form using GET method?

    It is possible to generate an MD5 hash code with JavaScript, but it doesn't really provide you much additional security. It also fails if the user has JavaScript disabled. The reason it isn't any more secure than a plain text password is that the MD5 hash essentially becomes the password. If I...
  10. R

    PHP: How to MD5 encrypt before sending form using GET method?

    It is possible to generate an MD5 hash code with JavaScript, but it doesn't really provide you much additional security. It also fails if the user has JavaScript disabled. The reason it isn't any more secure than a plain text password is that the MD5 hash essentially becomes the password. If I...
  11. R

    (php)is there a way to remove new lines(press enter) from a string?

    Why not use . $string = "I" . " like" . " pie"; Isn't that what . does?
  12. R

    PHP SELECT From Multiple Rows Depend On Criteria?

    Do you have a primary key in those tables? Nothing in the second table looks like a good candidate for a primary key. You really should add id fields to each table that are auto increment primary keys. So, add userid to first table Add groupid to second table. Now you can create a 3'rd table...
  13. R

    Why newsgroups ,groups and message boards are of past taking over my facebook...

    When newsgroups where the new new thing, the alt.sex.* were probably the most read. There was an alt.sex.* for any sexual preference you might have (and many more you would never even think of). Many, if not most of the posts were binary ( or so I've been told, never looked myself ;) I would...
  14. R

    VB.Net &/OR ASP - Time * Number?

    Probably easiest to work with a TimeSpan object. Dim ts as TimeSpan I'm not sure what your time is stored in now. Is it already in a TimeSpan? If not, you can convert from other formats: string - ts = TimeSpan.Parse(string) Numbers: ts = new TimeSpan(hours,minutes,seconds) DateTime: ts = new...
  15. R

    AJAX: How to notify when there is new data?

    I would probably use 2 AJAX calls. One to ask...Anything New? It would probably need to pass 1 param, a timestamp or something else meaningful to the server..basically 'New Since When?'. Only if it returns true would you then make the second call to load the div, and do something to notify the...
Back
Top