www.webdeveloper.com
Results 1 to 5 of 5

Thread: What is the Diffrent?? "includes-require"

  1. #1
    Join Date
    May 2007
    Posts
    142

    What is the Diffrent?? "includes-require"

    WHat is the different amOng....

    1. includes ("db.php");
    2. require("db.php");
    3. require_once("db.php");

    can anyOne give me the expLainatiOn???

  2. #2
    Join Date
    Aug 2004
    Location
    Ankh-Morpork
    Posts
    19,330
    include
    include_once
    require
    require_once
    If there's something specific in the manual you don't understand, let us know.
    "Please give us a simple answer, so that we don't have to think, because if we think, we might find answers that don't fit the way we want the world to be."
    ~ Terry Pratchett in Nation

    eBookworm.us

  3. #3
    Join Date
    May 2007
    Posts
    142
    thanx

  4. #4
    Join Date
    May 2007
    Location
    in Bulgaria
    Posts
    15
    require_once checks that if is included file .
    If its included before doesnt include it again.
    require_once takes more system memory

  5. #5
    Join Date
    Nov 2006
    Posts
    97
    Quote Originally Posted by n_alexiev
    require_once checks that if is included file .
    If its included before doesnt include it again.
    require_once takes more system memory
    I'm always using require_once heh.

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Posting Permissions

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



Recent Articles