PHP Include operator can't seem to find php script
<p>I am having an odd problem that continues to baffle me. I appreciate your advice....</p>

<p>In a PHP 5.3 script I am including another PHP script using the following code; </p>

<pre><code>include 'moninit.php?id=1234';  // initialize array variables
</code></pre>

<p>moninit.php is stored as C:\xampp\htdocs\CarmelServices\moninit.php</p>

<p>In php.ini the include path is: </p>

<pre><code>include_path = "C:\xampp\htdocs\CarmelServices"
</code></pre>

<p>So, the <code>include</code> should execute moninit.php but I get the following error returns; </p>

<blockquote>
  <p>Warning: include(moninit.php?id=1234) [function.include]: failed to
  open stream: No error in C:\xampp\htdocs\CarmelServices\SensorW.php on
  line 48</p>
  
  <p>Warning: include() [function.include]: Failed opening
  'moninit.php?id=1234' for inclusion
  (include_path='C:\xampp\htdocs\CarmelServices') in
  C:\xampp\htdocs\CarmelServices\SensorW.php on line 48</p>
</blockquote>

<p>If I execute moninit.php directly using a browser, it works fine. So, somehow the include cant seem to find moninit. SensorW is also in the same folder as moninit. </p>

<p>Very odd, at least to me. Thanks!</p>
