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

How can you pass a variable by reference?

743


How long should a session last?

705


How can we connect to a mysql database from a php script?

776


Which function is used to read a file removing the html and php tags in it upwork?

692


Why and where do we use htaccess?

742


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

831


Can php run on windows server?

728


How do you check if a variable has been set in php?

717


Tell me how can you pass a variable by reference?

715


What is the use of array_search() in php?

711


What type of operation is needed when passing values through a form or an url?

736


What is csrf cookie?

676


Tell me how to initiate a session in php?

735


Can constructor be private in php?

749


How to update memcached when you make changes to php?

720