Jump to content

trq

Staff Alumni
  • Posts

    30,999
  • Joined

  • Last visited

  • Days Won

    26

Everything posted by trq

  1. This topic has been moved to Apache HTTP Server. http://www.phpfreaks.com/forums/index.php?topic=351076.0
  2. If you only want 6 records, limit your query to 6 results. See http://dev.mysql.com/doc/refman/5.5/en/select.html, in particular the section an the LIMIT clause.
  3. The questions you where asking are seemingly unrelated to the task of maintaining or developing a "mail service". While it is good and even encouraged to set yourself goals, you really need to understand your limits. This is not stuff your even going to learn overnight let alone become experienced enough to run a trusted service with. Have you any experience maintaining unix servers? Have you any experience with a proper firewall such as iptables? Have you any experience installing and configuring properly an smtp server such as postfix or exim? Do you know what I am talking about? People who do not understand a problems scale will often mistakingly assume it as "simple" or as "easy enough to learn". These people quickly forget that more complex problems are often solved by people with allot of experience in the field. Don't get me wrong. Given enough time and ambition anyone can achieve there goals. However, coming to a community of programmers, server administrators and IT professionals who can see instantly that you are a beginner then writing off there advice as discouragement for the sake of being discouraging. Seriously, you need a wake up call.
  4. Seriously. If you need to be asking these questions you DO NOT wan't to setup your own mail service. Without seriously understanding server maintenance, security and networking you are looking for trouble. Most of the stuff you have spoken about in your post have little to nothing to do with mail, including Nginx, which is a HTTP server.
  5. <a href="?foo">click foo</a> <?php if (isset($_GET['foo'])) { echo "Do something foo"; }
  6. You'll be hard pressed to find any language as well documented as PHP.
  7. You can use JavaScript for this sort of thing these days. See http://audiolibjs.org
  8. This topic has been moved to PHP Applications. http://www.phpfreaks.com/forums/index.php?topic=351056.0
  9. That code is not valid php unless you have the constants car, japan, usa and europe defined somewhere and they represent numbers. Why not post your actual code.
  10. trq

    php

    Just because AJAX is used doesn't mean it depends on Javascript being turned on. Um, indeed it does. You cannot create Ajax without JavaScript.
  11. Arrays cannot contain duplicate keys. It really is that simple, and makes no sense any other way.
  12. It would help if you told us what browser_detection() actually returns.
  13. Take a look at the sticky. http://www.phpfreaks.com/forums/index.php?topic=119433.0
  14. This topic has been moved to Editor Help (Dreamweaver, Zend, etc). http://www.phpfreaks.com/forums/index.php?topic=351013.0
  15. header($_SERVER['SERVER_NAME'] . '/somescript.php'); This will make your code portable between any host.
  16. This topic has been moved to MySQL Help. http://www.phpfreaks.com/forums/index.php?topic=351005.0
  17. The location header expects a complete url, not a path.
  18. While the mail function does support remote smtp servers, it does not support passing authentication. Hence, you cannot use smtp servers which require authentication. Gmail is one such smtp server. For testing purposes your better of installing a sendmail implementation such as ssmtp (assuming your using Linux). Otherwise, you can use third party libs like simpleMail instead of the mail function.
  19. This topic has been moved to PHP Applications. http://www.phpfreaks.com/forums/index.php?topic=350982.0
  20. Because there is a slug, it just happens to be empty. Try: if (isset($_GET['slug']) && $_GET['slug']) {
  21. This topic has been moved to Third Party PHP Scripts. http://www.phpfreaks.com/forums/index.php?topic=350931.0
  22. The code abrahamgarcia27 posted doesn't actually register a user, it simply sends the user an email saying that an admin will register them shortly. You will need to post a description of what your actual problem is (this doesn't work is not descriptive enough for us to be able to assist you). It's always best to post the relevant code directly within your post using tags. People won't often download code.
  23. This topic has been moved to JavaScript Help. http://www.phpfreaks.com/forums/index.php?topic=350924.0
  24. This topic has been moved to Other Libraries and Frameworks. http://www.phpfreaks.com/forums/index.php?topic=350748.0
×
×
  • 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.