php include not working just dumping txt to screen
I have a strange PHP problem, I am including a file into my PHP script:
but instead of being able to use the vars in there, it dumps the contents of the file I am trying to include to the screen.
If I put the same contents straight into the file then it works correctly.
It sounds to me like I haven't got something set correctly in my php.ini file but I am not sure what I need to be setting to getting this to work.
The file that I am including is in the same directory as one the doing the include and apache should have permission to open this file.
I am using PHP 4.3.4 with apache 1.3.28 on a redhat 7.2 box that has been upgraded..