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???
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
require_once checks that if is included file .
If its included before doesnt include it again.
require_once takes more system memory
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
Forum Rules
Bookmarks