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

How to convert a string to lowercase in php?

1045


What are the common uses of php?

1105


What is the use of preg_match in php?

998


Explain $_FILES Superglobal Array?

1043


What is the use of offset in mysql?

944


What happens if an expected input field was not submitted?

969


How to get the length of string?

1032


Is multilevel inheritance possible in php?

968


Explain the three different kinds of Arrays?

1198


What is a php session?

1065


What is the main difference between require() and require_once()?

1009


What is the apache?

957


Why php language is used?

985


How can php and html interact?

1054


What is the main difference between require() and include()?

978