// I have an array of pages like.....
$page[0] = "home.php";
$page[1] = "about.php";
// ...etc
// Then I have a loop to check which page was selected and include it ....
3) for ( $counter = 0; $counter <= $pagecount; $counter += 1)
4) {
5) if ($selected == $counter)
6) {
7) include ($page[$counter]);
8) }
9) }
// On my own system (IIS under XP - latest php) this works fine, but uploaded to my hosts (linux based) I get the following...
Warning: main(h): failed to open stream: No such file or directory in /home/craig/public_html/s/showpage.php on line 7
Warning: main(h): failed to open stream: No such file or directory in /home/craig/public_html/s/showpage.php on line 7
Warning: main(): Failed opening 'h' for inclusion (include_path='.:/usr/lib/php:/usr/local/lib/php') in /home/craig/public_html/s/showpage.php on line 7