What is the difference between the functions unlink and unset?
Answer Posted / suprita pandey
Unlink() :-remove file from server.
unlink(' /path/file.phtml');
Unset() :-remove the variable.
unset($variableName);
| Is This Answer Correct ? | 0 Yes | 0 No |
Post New Answer View All Answers
What is overloading and overriding in oop?
How to set cookies in PHP?
What are include() and require() functions?
What is the use of $_server["php_self"] variable?
How to remove white spaces from the beginning and/or the end of a string in php?
How can I find my php version?
What are magic constants in php?
What is Apache's configuration file typically called?
Is empty function c++?
Why is facebook still using php?
Tell me how to strip whitespace (or other characters) from the beginning and end of a string?
What are the popular content management systems (cms) in php?
How can a cross-site scripting attack be prevented by php?
Tell me how is it possible to remove escape characters from a string?
What is mod_php?