I am having issues trying to call a php script from another php script with an include. I am passing "keysum" as a variable and have verified that is the case. The include statement is failing with the following error. I am pretty new to php and need to call different programs one for warehouse summary and one for account summary based on the radio button selected.
PHP Warning: include failed to open stream: No such file or directory referer:
PHP Warning: include(): Failed opening
As you see from my code below I have tried many different ways of doing the path.
Here is the include statement loop.
if($_POST['xltype'] == 'keysum') {
You can't include a query string in an include()
php won't let you.
If it's two separate servers, you should not be using includes anyway.
This question is answered here: URL querystring with a php include