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 exact Diff. between include_once() and
require_once() in PHP?

Answer Posted / rahul anand

when we use require_once then if the file is not existed
then it will show the fetal error and will not execute the
instruction written under the require_once function. In the
case of include_once() if the file does not exist then it
will show the error message and also show the statements
written under the include_once function.

Is This Answer Correct ?    16 Yes 11 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

Explain what does the unset() function means?

1047


Write a php function to convert all null values to blank?

1257


What is the use of mysqli_real_escape_string() function?

863


What is the difference between associative array and indexed array?

991


Why many companies are switching their current business language to php? Where php basically used?

885


Why is used in php?

908


How to write php function in html onclick?

889


Differentiate between require and include?

918


What is difference between echo and print_r in php?

842


How to write in a file in php?

943


Can php run on windows server?

957


Can we override static method?

919


What is mysqli php?

947


What is cookie in php with example?

888


When sessions ends?

902