Found a MUCH MUCH simpler solution that works across the board.. change
$HTTP_HOST to $DOCUMENT_ROOT and it works!
Phil
"Analysis & Solutions" <[EMAIL PROTECTED]> wrote in message
[EMAIL PROTECTED]">news:[EMAIL PROTECTED]...
> Phil:
>
> On Fri, May 10, 2002 at 08:01:46PM -0400, Phil Powell wrote
Phil:
On Fri, May 10, 2002 at 08:01:46PM -0400, Phil Powell wrote:
>
> How do I fix this problem? I do not want to duplicate the PHP script per
> folder as there will be an enormous amount of dynamically-created subfolders
> and I will have to copy a version per folder. I want to be able to use
http://$HTTP_HOST/$path/menubar.cgi";, "r");
$menubar = fread($fileID, 100);
fclose($fileID);
return $menubar;
}
?>
This function exists in the file "menubar_functions.php" which is in the
docroot. I have a PHP script in a subfolder /chat that produces a Fatal
Error (call to undefine
3 matches
Mail list logo