Exclude in php

Discussion in 'PHP' started by look4guna, Sep 21, 2010.

  1. #1
    Hi friends!

    Is there any function to remove included files? for example i've included a file using include "file.php"
    after sometime i want to remove that file like exclude "file.php". is it possible?
     
    look4guna, Sep 21, 2010 IP
  2. axelay

    axelay Peon

    Messages:
    54
    Likes Received:
    1
    Best Answers:
    0
    Trophy Points:
    0
    #2
    Hi,

    An include file will generally contain a set of functions/variables you want to use in the current script.
    If you ever need to exclude it, then your script is wrong and you should concentrate on cleaning up... Can you elaborate on why you need to exclude the file?

    aXe
     
    axelay, Sep 21, 2010 IP