<p>If I have $var defined in Page1.php and in Page2.php I have</p>

<pre>
//Page2.php
include('Page1.php');

echo $var;
</pre>

<p>For what reasons will it not print the value of $var to the screen?  The files are in the same directory so paths shouldn't be the issue.   I've checked the php.ini file and nothing really jumps out at me.  Any ideas?</p>

Possible causes:
The current working path isn't always the same as the file's. For example, if Page2.php is being included at a higher level, that higher level will be the path. Either make sure you've loaded Page2.php directly or move Page1.php accordingly.
Make sure
```
$var
```
is really what you expect it to be. Echo it in Page1.php to confirm. (this also checks the right file is being included)
If the source isn't really this simple, make sure you're not undefining/clearing
```
$var
```
anywhere.