Hello
Is it possible to know if PHP successfully included a file?
For example
if (@!include("./test.php")) include("include/test.php")
Does include return anything or not?
Thanks.
Norman
just use include_once().
You can also look at the manual's page on [man]include[/man] to see what it says about handling return values.