i have the same problem.
on my local mashine it works fine, but on my host i get the error.
but it works, if you use a relative path for the include.
but then you would have to set the variables before you call the script , so your script would be like this:
<?php
$show=1;
$type="old";
include("db/show.php");
?>
it seems that my provider doesent allow to include scripts that are not im my directory, because i get the same error if i try to load the script wit fopen:
if ($fd = fopen ("http://www.php.net", "r")){
while (!feof ($fd)) {
$buffer = fgets($fd, 4096);
echo $buffer;
}
fclose ($fd);
}
this script also works on my linux server at home