ITP

BCA - PHP and MySQL

What is the difference between the functions UNLINK and UNSET ?

In : BCA Subject : PHP and MySQL
  • To delete a file, use unlink. unset is a method of erasing a previously declared variable.
  • Unset can be used to remove a variable's value or the contents of a file, but unlink deletes the file.
  • You can use the unset() or session_destroy() functions to erase some session data.
  • To liberate the provided session variable, use the unset() function.

About us

A truly open platform where you may ask questions and get answers. We also provide comprehensive and easy-to-understand answers to question papers.  discover...

Site status

Flag Counter

Privacy Policy

Sitemap