ok so I'm trying to generate a graph with pchart and then email it with phpmailer
the script to generate the graph works fine, and contains the lines:
include("pChart/pData.class");
include("pChart/pChart.class");
... and the script that sends the emails has:
include_once("class.phpmailer.php");
I run both scripts from one parent script that is trying to generate the graph and send the emails - the problem is if the parent script is places in the pchart folder the phpmailer script produces errors, and if I put the parent script in the phpmailer folder the pchart script produces errors
how can I specify to each of the scripts how they should respect their own respective "include" paths?? do I need to use the "exec" function??
thanks!!