Jump to content

Maq

Administrators
  • Posts

    9,363
  • Joined

  • Last visited

  • Days Won

    3

Everything posted by Maq

  1. Not sure of the best/safest way to do this but you can detect it via JS with the navigator object, there are also many scripts already written for this. Google "JS OS detection". Here is an example: http://www.javascripter.net/faq/operatin.htm
  2. $message=mysql_real_escape_string($_POST['message']);
  3. I recommend calling the mysql_real_escape_string when you create your variables from the $_POST array.
  4. In the future, please place OR tags around your code.
  5. You came to the right place, welcome to PHPF.
  6. This topic has been moved to MySQL Help. http://www.phpfreaks.com/forums/index.php?topic=348309.0
  7. This topic has been moved to Other. http://www.phpfreaks.com/forums/index.php?topic=348135.0
  8. Maq

    .SWF autoplay???

    Why is this in the PHP section? After googling is looks like adding this parameter will do the trick:
  9. Maq

    I'm new guys!

    Hi JIF, welcome to PHPF.
  10. @ajg, I think you're a bit confused. JS has a few server side capabilities but that's not what it's primarily used for. I would suggest reading up on the differences first, try googling "php vs javascript" or "server side vs client side".
  11. But they're not. The difference is the SQL, that is why mjdamato gave you code to debug that function.
  12. Double check your get_new_flows() function, specifically the SQL, to ensure you're actually building and returning a valid array.
  13. I can't get to either link.
  14. What part are you stuck on? For intervals of 20 minutes you would create a cron job that calls your script which simply does a count of messages in the DB.
  15. Moving to PHP Help even though I really don't know what you're asking. Could you elaborate?
  16. This topic has been moved to PHP Coding Help. http://www.phpfreaks.com/forums/index.php?topic=347390.0
  17. This topic has been moved to PHP Regex. http://www.phpfreaks.com/forums/index.php?topic=347186.0
  18. Maq

    Hello Everybody

    Thanks for joining the community, welcome.
  19. This topic has been moved to PHP Regex. http://www.phpfreaks.com/forums/index.php?topic=345873.0
  20. This topic has been moved to Editor Help (Dreamweaver, Zend, etc). http://www.phpfreaks.com/forums/index.php?topic=345641.0
  21. This topic has been moved to Miscellaneous. http://www.phpfreaks.com/forums/index.php?topic=345635.0
  22. Sure no problem, so is everything working for you now? If so, you can mark this topic solved.
  23. This topic has been moved to MySQL Help. http://www.phpfreaks.com/forums/index.php?topic=345631.0
  24. http://dev.mysql.com/doc/refman/5.0/en/sorting-rows.html
  25. Yes, that has already been pointed out in the initial post. I think everyone saying "why reinvent the wheel", including myself, are referring to people that are using raw JS for those reasons.
×
×
  • 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.