Jump to content

trq

Staff Alumni
  • Posts

    30,999
  • Joined

  • Last visited

  • Days Won

    26

Everything posted by trq

  1. 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.
  2. <a href="?foo">click foo</a> <?php if (isset($_GET['foo'])) { echo "Do something foo"; }
  3. You'll be hard pressed to find any language as well documented as PHP.
  4. You can use JavaScript for this sort of thing these days. See http://audiolibjs.org
  5. This topic has been moved to PHP Applications. http://www.phpfreaks.com/forums/index.php?topic=351056.0
  6. 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.
  7. 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.
  8. Arrays cannot contain duplicate keys. It really is that simple, and makes no sense any other way.
  9. It would help if you told us what browser_detection() actually returns.
  10. Take a look at the sticky. http://www.phpfreaks.com/forums/index.php?topic=119433.0
  11. This topic has been moved to Editor Help (Dreamweaver, Zend, etc). http://www.phpfreaks.com/forums/index.php?topic=351013.0
  12. header($_SERVER['SERVER_NAME'] . '/somescript.php'); This will make your code portable between any host.
  13. This topic has been moved to MySQL Help. http://www.phpfreaks.com/forums/index.php?topic=351005.0
  14. The location header expects a complete url, not a path.
  15. 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.
  16. This topic has been moved to PHP Applications. http://www.phpfreaks.com/forums/index.php?topic=350982.0
  17. How should we know what the paths are?
  18. Because there is a slug, it just happens to be empty. Try: if (isset($_GET['slug']) && $_GET['slug']) {
  19. This topic has been moved to Third Party PHP Scripts. http://www.phpfreaks.com/forums/index.php?topic=350931.0
  20. 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.
  21. This topic has been moved to JavaScript Help. http://www.phpfreaks.com/forums/index.php?topic=350924.0
  22. This topic has been moved to Other Libraries and Frameworks. http://www.phpfreaks.com/forums/index.php?topic=350748.0
  23. Firstly, the W in Wamp stands for windows. Considering your using Linux, you have what is known as Lamp. Now to your issue: chmod 711 /src/www
  24. Let's just think about this for a second. Changing your ip is like changing your address. So, if you send a request to some server and give the server the wrong address to send the response to you will never receive the response.
  25. The best you could do would be to have the command sent to the server and stored. You could then have the other pc poll the server for any new commands.
×
×
  • 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.