logo

CuriousTab

CuriousTab

Discussion


Home Interview Technology Comments

  • Question
  • What is the difference between the functions unlink and unset in PHP?


  • Correct Answer
  • The function unlink() is to remove a file, where as unset() is used for destroying a variable that was declared earlier 


  • Technology problems


    Search Results


    • 1. Describe how to create a simple AD rotator script without using database in PHP.
    • Discuss
    • 2. How to use HTTP Headers inside PHP? Write the statement through which it can be added?
    • Discuss
    • 3. How can I retrieve values from one database server and store them in other database server using PHP?
    • Discuss
    • 4. Will comparison of string "10" and integer 11 work in PHP?
    • Discuss
    • 5. With a heredoc syntax, do I get variable substitution inside the heredoc contents?
    • Discuss
    • 6. What is the difference between _construct() and _destruct() methods in php?
    • Discuss
    • 7. What's the difference between GET() and POST() method?
    • Discuss
    • 8. What is the purpose $_PHP_SELF variable?
    • Discuss
    • 9. What's the difference between Session and Cookie?
    • Discuss
    • 10. How to create a basic text file in php?
    • Discuss


    Comments

    There are no comments.

Enter a new Comment