What is the difference between the functions UNLINK
and UNSET?

Answer Posted / raju kumar

unlink used for delete file from directory and unset used
for destroy variable like session.

Is This Answer Correct ?    3 Yes 1 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

What is form action php?

787


What is csrf mvc?

753


Explain the visibility of the property or method?

780


Do I need apache for php?

822


Are there regular expressions in php?

682


Tell me how to create a text file in php?

772


What is $_ get?

749


What is the use of strip_tags() method?

742


How does session work in php?

758


Does empty check for null?

742


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

824


What is the use of array_search() in php?

732


Explain php split() function.

745


How does one prevent the following warning ‘warning: cannot modify header information – headers already sent' and why does it occur in the first place?

722


What is get and post method in php?

761