Jump to content

Maq

Administrators
  • Posts

    9,363
  • Joined

  • Last visited

  • Days Won

    3

Everything posted by Maq

  1. Hi Chezshire The groups (Guru) are decided by the PHPFreaks team/staff. The post based ranks (enthusiast), are well, based on post count. Read more here: http://www.phpfreaks.com/forums/index.php/topic,232740.0.html
  2. Make sure you have this set as well: ini_set ("display_errors", "1");
  3. Alternatively, you can use BETWEEN. Also, if you are placing this query into a string with double quotes, variables will be interpolated. ie: $query = "SELECT * FROM emails WHERE emails_id BETWEEN $start AND $end";
  4. Firstly, that doesn't throw and error. Second, I'm not sure you guys are understanding the whole point. As premiso previously mentioned:
  5. A read through this tutorial should help: http://www.phpfreaks.com/tutorial/php-security
  6. Also, don't label your Subject as "Question", obviously we know it's a "question" give a quick description instead.
  7. Version Control System. Heh, thanks
  8. Git and Mercurial both are to be considered the "new popular" subversion services. They both provide excellent branching and merging mechanisms. Integration into SVN is also a plus (at least for Git AFAIK). As far as SVN, there are many nice plugins that you can obtain for your IDE (ie: subclipse for Eclipse) and overall it's pretty intuitive and easy to use. EDIT: I didn't see that your Subject was entitled VCS, I assume you meant CVS?
  9. For me, and I think I can speak for most of us, that's about a .01% chance.
  10. Maq

    I'm back

    What he said ^.
  11. Hi e, welcome to the forums. Was that job related or personal?
  12. Passwords. For me, there is no reason to memorize phone numbers (except Dominos of course).
  13. Congratulations! Although, I would like to have kid(s), I'm going to wait. Too much I would like to do before strapping down.
  14. Maq

    Really?

    hi kavoir.com, welcome to the forums!
  15. No it doesn't, I just tested it. If the $email is equal to "test" it will return false. Can I see how you're calling this?
  16. Change this: if($row = mysql_fetch_array($result)) to this: while($row = mysql_fetch_array($result)) How do you expect to traverse through the result set without a loop?
  17. This logic is known as the ternary operator. (search for "ternary") Converted to an if/else: if($st['puntos'] > 0) { echo $st['puntos']; } else { echo "0"; }
  18. Try something like this: if(preg_match("~[A-Z0-9._%+-]+@[A-Z0-9.-]+\.[A-Z]{2,4}~i", $email)) { return TRUE; } else { echo FALSE; } EDIT: Moving to the more appropriate PHP Regex child board.
  19. I was going to say, my day is going great .
  20. You should be using regex, specifically the preg_match method. There should be examples in the PHP Regex child section. BTW, the only attempt I see is checking that it's not empty.
  21. His link is correct. It's SMF that is parsing the text incorrectly by not figuring out that the ending period part of the sentence and not the URL. Oops
  22. Yes, it's linux based. Yes, it has been stated by Google, as of this year, it will be open source.
  23. Just an FYI, most of the articles/presentations in your first link are out dated and when you click on your second link, it's broken. It should read - http://csrc.nist.gov/index.html
  24. I have to admit, Microsoft did XBox Live really well.
  25. Hmm, might have to quote this one, or at least you should add it to the random quote repo. The interpretations of this one will be endless.
×
×
  • 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.