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 importance of "method" attribute in a html form?

1078


Do you know how to declare an array in php?

1024


Is it more secure to use cookies to trfer session ids?

1057


How many functions are there in php?

1049


Explain converting an object?

1068


What is variable declaration?

1004


How is it possible to remove escape characters from a string?

1189


What is $globals php?

1083


How do I stop a php script?

1015


Do you know what is the function func_num_args() used for?

1073


How can you pass a variable by reference?

1055


What is the main difference between php 4 and php 5?

1024


What is the difference between session_unregister() and session_unset()?

1160


What are the different data types in javascript?

2149


What is the use of mysql_real_escape_string in php?

955