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 use of trim in php?

920


What is magic quotes?

956


What is the use of limit in mysql?

915


Write a program to upload a file in php?

953


How long is session timeout?

934


What is the purpose of the php empty function?

898


How to retrieve the original query string?

1016


What are the different types of PHP arrays?

1024


How is it possible to parse a configuration file?

905


Where do we use get and post?

925


What is Different between Joomla And Magento?

2757


What is framework in php?

962


What is substr in php?

965


How can we display the output directly to the browser?

932


What is the difference between == and === in php?

969