Page 5 of 7 FirstFirst ... 234567 LastLast
Results 61 to 75 of 93

Thread: Basics Of PHP

  1. #61
    You guys need to buy a book. PHP is really a good language to study as the first language you want to learn.

  2. #62
    Thank you for good topic

  3. #63
    Good short, tutorial, good for new people wanting to learn PHP.

  4. #64
    Great topic for the learners

  5. #65
    Nice man. I'm going to have to get more in-depth into this stuff next year of college. Will be good to have a head start with these types of tutorials.

  6. #66
    Join Date
    Aug 2010
    Quote Originally Posted by horizon View Post
    Nice block from SNC. However, I'd state this line:

    PHP Code:
    $ip getenv("REMOTE_ADDR"); 

    PHP Code:
    $ip = (isset($_SERVER['REMOTE_ADDR'])) ? $_SERVER['REMOTE_ADDR'] : getenv("REMOTE_ADDR"); 
    You can just do $_SERVER['REMOTE_ADDR'];
    isset and getenv will only slow it down, $_SERVER and getenv do just the same, the only difference is that you can do getenv('remote_addr') but function call is slower than array call (#micro optimization)

    Quote Originally Posted by risoknop View Post
    First of all, I suggest abiding to some coding standards and/or best practices, one line condition statements for example aren't recommended.

    Secondly, you should use enctype attribute with HTML forms for security reasons, for instance:

    <form enctype="application/x-www-form-urlencoded" method="post" action="/controller/action">
    This is false as well, this enctype is default one so you don't have to specify it only if you need something different. The less text in your html the smaller so faster.

  7. #67
    Join Date
    Mar 2012
    Yes, I am agree too. Phpmanual gives all the details along with the exact syntax and needed options for each function so if we study it well there is no need of ebooks.

  8. #68
    Thats pretty basics of PHP, can you point us to place to learn better about all functions and how to use it in PHP?

  9. #69
    this will help beginner to start and they can continue with w3schools too

  10. #70
    Join Date
    Sep 2012
    Nice topic. Definately going to get some use of it later.

  11. #71
    Great tutorial you have posted and some very knowledgeable replies to go with it. Even if you know PHP, it is still nice to refresh your mind once in a while to remember everything about it. Some very good points made for sure.

  12. #72
    Join Date
    Sep 2012
    Pretty nice topic for beginners.

  13. #73
    PHP is a powerful tool for making dynamic and interactive Web pages.
    PHP is the widely-used, free, and efficient alternative to competitors such as Microsoft's ASP.

  14. #74

    Thumbs up basics of php tutorial

    for best learning of php basics u can see this blog

  15. #75
    Nice, great PHP tutorial for beginners. Do you intend to create more parts of this tutorial?

Page 5 of 7 FirstFirst ... 234567 LastLast

Related Posts from

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts