This topic is locked

include self with defined functions in file

12/29/2007 11:05:56 AM
PHPRunner General questions
W
webdino author

I try to include a file with global functions and instructions like ini_set.... in all files like the include of the header.php
for example...

include_if_exists file="include/header.php";

include_if_exists file="include/functions_user.php";
I try to put this include in the login.htm file at the templates but phprunner change this file at the building.

What is wrong or how to do this?

It is possible to include it in header.php and are there automatically the dbconnections available? I think the connection is not available then and that is the problem?
thank you for help?