FAQ index
1. My PHP site does not allow me to configure the required include_path settings.
If your PHP site does not allow you to configure the php.ini or the httpd
server configuration to add JpGraph or taloLoggerGraph to your PHP include_path,
you may do that in the script itself. This involves adding configuration to
your PHP code that includes the taloLoggerGraph. Below is an example of a
code that adds JpGraph and taloLoggerGraph code to include_path. Example assumes
that you have a scripts
directory that contains the
taloLoggerGraph
directory containing the taloLoggerGraph code
and jpgraph
directory containing JpGraph.
The index.php
file extract containing the configuration.
<?PHP
$path = PATH_SEPARATOR;
$path .= "scripts/taloLoggerGraph/";
$path .= PATH_SEPARATOR;
$path .= "scripts/jpgraph/src/";
set_include_path(get_include_path() . $path);
include("taloLoggerGraph.inc");
taloLoggerGraph("taloLoggerGraph.conf");
?>