Hi,
I really hope someone can help because this has got me stumped.
I'm trying to use the following code:
include ("graphs.php?test=foo");
to include a php file and pass it a variable value at the same time. (I know I could just set the variable beforehand but this is an extra line in the code and not as 'clean')
However, I persistantly get the error:
Warning: Failed opening 'graphs.php test=foo' for inclusion (include_path='')
I can include the file with no CGI call:
include ("graphs.php");
and I get the expected results but I really need the CGI bit on the end!
If anyone can help, it would be much appreciated 🙂