Hi there,
Can someone suggest a reason for the following? I am trying to INCLUDE
the JPGraph libraries in my PHP script as follows:
BEGIN CODE
-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-
<?
/*
_______ ______ __ ___
/ ____/ | / / __ \/ |/ /
/ / __/ |/ / / / / /|_/ /
/ /_/ / /| / /_/ / / / /
\____/_/ |_/\____/_/ /_/ sasdap version
,----------------------------------------+
| Comments to go here.
`-----------------------------------------------------------------
*/
// Include the PGraph libraries
include ("jpgraph.php");
include ("jpgraph_log.php");
include ("jpgraph_scatter.php");
include ("jpgraph_error.php");
include ("jpgraph_line.php");
$xData = array(); // holding the R (X) data
$yData = array(); // holding the P(R) (Y) data
$eData = array(); // holding the error margin data
..
..
..
<snip>
-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-
END CODE
My INCLUDE_PATH is set to /usr/local/lib/php, so the 5 INCLUDED scripts
are in there. However, this code results in the following error message:
Warning: Failed opening '/www/servers/webGNOM/test.php' for inclusion
(include_path='.:/usr/local/lib/php') in Unknown on line 0
I also tried changing the include line to
../../../www/server/webGNOM/JpGraph_1.9.2/ blah blah... but that gave me
the same error. Any ideas anyone?
Cheers,
Lee
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php