Golgappa.net | Golgappa.org | BagIndia.net | BodyIndia.Com | CabIndia.net | CarsBikes.net | CarsBikes.org | CashIndia.net | ConsumerIndia.net | CookingIndia.net | DataIndia.net | DealIndia.net | EmailIndia.net | FirstTablet.com | FirstTourist.com | ForsaleIndia.net | IndiaBody.Com | IndiaCab.net | IndiaCash.net | IndiaModel.net | KidForum.net | OfficeIndia.net | PaysIndia.com | RestaurantIndia.net | RestaurantsIndia.net | SaleForum.net | SellForum.net | SoldIndia.com | StarIndia.net | TomatoCab.com | TomatoCabs.com | TownIndia.com
Interested to Buy Any Domain ? << Click Here >> for more details...

What is the difference between include and include_once ?
Which is one is good in terms of performance ?

Answer Posted / abhishek dilliwal

u may include a single file several times by using
include() but by using include_once() its ensured tht the
specific file would be included only once no matter how
many times u wrote it ;)

-Abhishek Dilliwal
http://abhishek.x10hosting.com

Is This Answer Correct ?    13 Yes 2 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

What is the mysql injection?

985


armstrong number by using php while number is given by the keyboard.?

2181


What is the use of return in php?

909


How easy is php?

945


Which method do you follow to get a record from a million records? (Searching not from database, from an array in php)?

988


How to check if a string contains a character or word in php?

1006


What is file upload?

1066


Tell me what does the php error 'parse error in php - unexpected t_variable at line x' means?

1000


Explain the importance of the function htmlentities.

995


How to select a database?

1007


Tell me what does $_env means?

957


How to block direct directory access in PHP?

971


What is default session time in php?

965


How can we get the error when there is a problem to upload a file?

983


What is get method in java?

1062