I am trying to dynamically include .html files on my page based upon fields and paths that are generated from MySQL.
Ex.
Based upon the the $id and $file_name (any.html), I generate the appropriate include statement.
include ("/Data/$id/$file_name");
error: Warning: Failed opening '/Data/1/datapage.html' for inclusion .....
The html files are all located in different paths than the php script.
Is there any way to load the file without putting all of these different paths in the php_include_path (in php.ini)?
Note: Developing on PHP4 / Windows to be placed on UNIX/BSD.
Any help would be greatly appreciated,
Rich