Page 1 of 1

[SOLVED]checking if a file was already included

Posted: Wed Jun 09, 2004 3:40 am
by pelegk2
i have file with includes
and some of the files that i include maybe using the same include file as the original file that they were included to!
is there away to check if a file was already included?
thnaks in advance
peleg

Posted: Wed Jun 09, 2004 3:44 am
by patrikG
[php_man]include_once[/php_man]

Advised reading:

First link below (our posting-guidelines)
Second link below (php manual)

Posted: Wed Jun 09, 2004 7:12 am
by McGruff
Also see manual: get_included_files.

Posted: Wed Jun 09, 2004 7:25 am
by pelegk2
thanks all of u
very good to knwo:)