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 the functions unlink and unset?

Answer Posted / prahallada

unlink() is a function for file system handling.
It will simply delete the file in context.


Unset () is used to destroy a variable in PHP. In can be
used to remove a single variable, multiple variables, or an
element from an array. It is phrased as Unset ($remove).
Also Known As: Unset Variable, Destroy Variable

Is This Answer Correct ?    4 Yes 0 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

What is the difference between apache and tomcat?

999


What is the difference between php4 and php5?

1049


Explain about require and include function?

973


How to get a random value from a php array?

981


What is the purpose of using php?

1033


What is list in PHP?

1092


How many types of php are there?

973


When do sessions end?

932


Write down the code for save an uploaded file in php.

958


What are the __construct() and __destruct() methods in a php class?

938


Explain the syntax for ‘foreach’ loop with example.

946


Why did you choose this particular career path?

8788


What are session variables in php?

1005


What is empty php?

970


Can we embedded directly PHP code into XHTML document? State Whether True or False?

1775