Forum Moderators: coopster

Message Too Old, No Replies

problem with a file included twice when I want it to be included once

include_once("file_name")

         

amiz

7:23 pm on Aug 22, 2006 (gmt 0)

10+ Year Member



I have a problem with a file that apparently is being included twice when I want it to be included once.
I searched all my files and couldn’t find a place in which I am not calling it with include_once("file_name")
Is there a way to print or output in any way which file calls this file?
It could be an included file that calls this file, so I need to know the file name, not the page name that calls this file.

coopster

7:52 pm on Aug 22, 2006 (gmt 0)

WebmasterWorld Administrator 10+ Year Member



Welcome to WebmasterWorld, amiz.

You could grep your directory for the included filename.