Thanks, I tried
Warning: include(/includes/24.php) [function.include]: failed to open stream: No such file or directory in [path]/global.php(404) : eval()'d code on line 242
Code:
ob_start();
include("/includes/$pagenumber.php");
$includedphp = ob_get_contents();
ob_end_clean();
But still got
Quote:
Warning: include() [function.include]: Failed opening '/includes/24.php' for inclusion (include_path='.:/usr/lib/php:/usr/local/lib/php') in [path]/global.php(404) : eval()'d code on line 242
|
Sorry what did you mean by
Quote:
Also you might need a '@' before 'include' to ignore the error if the file doesn't exist.
|