Itty Bitty Talks

  • Home
  • My Stories
  • Programming
    • Design Patterns
    • Javascript
    • MySQL
    • PHP Basic
  • SEO and SEM
  • Tech News
    • Google
      • Gmail

From the category archives:

PHP Basic

Which method shall you use between include() or include_once() and require() or require_once() ?

by ron on July 28, 2010 · 1 comment

in PHP Basic

In recent versions of PHP, the only difference between require() (or require_once()) and include() (or include_once()) is in the fact that, while the latter will only throw a warning and allow the script to continue its execution if the include file is not found, the former will throw an error and halt the script.

Subscribe to RSS

Follow on Twitter

  • Categories

    • My Stories (1)
    • Programming (4)
      • Design Patterns (1)
      • Javascript (1)
      • MySQL (1)
      • PHP Basic (1)
    • SEO and SEM (1)
    • Tech News (3)
      • Google (2)
        • Gmail (2)
      • Windows (1)
  • Archives

    • August 2010
    • July 2010
    • May 2009
    • July 2008
    • December 2007
    • May 2007
    • April 2007
  • Recent Posts

    • Do I have 32 or 64 Bit Windows XP?
    • Which method shall you use between include() or include_once() and require() or require_once() ?
    • ‘break’ and ‘continue’ for jQuery loop
    • Who is hacking your gmail account?
    • Is 3 tier architecture and MVC same?
  • Tags

    aggregate function break continue gmail group_concat() hacking jquery MVC MySQL N-tier architecture PHP Rickshawala script SEO
  • Recent Comments

    • hp on Do I have 32 or 64 Bit Windows XP?
    • jesmin on Do I have 32 or 64 Bit Windows XP?
    • Dev on Which method shall you use between include() or include_once() and require() or require_once() ?
    • Sohel on ‘break’ and ‘continue’ for jQuery loop
    • Pearl on [Google Tips]: Use Gmail as a Hard Drive

© 2012 Itty Bitty Talks