I have these files on 4 different servers but it's not working on only 1. Same exact files, same exact file structure.
File structure:
test/index.php
test/parent.php
test/inc/inc.php
code:
test/index.php:
<? include 'inc/inc.php'; ?>
test/inc.php:
<? include 'parent.php'; ?>
When inc.php is included in index.php shouldn't inc.php be looking in the test folder for parent.php not in the inc folder.
It does on this one particular server but not the other 3. This particular one is the production server and I am stumped.
works: http://malleamusic.com/test
works: http://mallea.net/test/
dosent work: http://mywirelessextras.com/test
If anybody can shed some insight please let me know.
Oh it's coded in this way because I encoutered the problem while trying to install zencart on production and this is the way zencart is coded. So recoding isn't an option.