It is strange.THe phpinfo() function gets parsed into the html page and properly displayed.
I have written my own functions and put them in one file "genl_func.php" and put this file in "/usr/include/php/include" directory.
The include_path directive in the "/etc/php.ini" file has been set:
include_path = ".:/php/includes:/usr/include/php/include/"
When from my html code I call any function contained in this file nothing happens. In fact when I view the source of the resulting html, I find that all the lines after call of the functions have been omitted.
Of course I have put the
<?php include("genl_func.php") ?>
at the top of the page.
even simple function like
echo "Hello World !";
are not being executed.
What is the catch ?
Any help ?