|
Posted by J.O. Aho on 02/16/07 08:07
dorayme wrote:
> In article <op.tntpstsvqnv3q9@misant>,
> Rik <luiheidsgoeroe@hotmail.com> wrote:
>
>> On Fri, 16 Feb 2007 02:03:07 +0100, dorayme
>> <doraymeRidThis@optusnet.com.au> wrote:
>>
>>> On a Unix server, including the server on my Mac, you can use
>>> <?php include ($_SERVER['DOCUMENT_ROOT'].'/includes/footer.inc');
>>> ?>
>>> in any html doc at any level (at least at any level at or below
>>> the normal /public_html) and the footer appears fine in any
>>> browser and with the folder "includes" (containing the footer
>>> markup) at almost any level.
>> I use it here on W2K all the time. If this does not
>> work for you, what's the actual content of $_SERVER['DOCUMENT_ROOT'] if
>> you echo it? And are you using Apache or ISS (or a totally different
>> server?)
> Optus say: "All Optus shared web servers are built on a
> combination of Windows Server 2003 and Internet Information
> Services 6.0 technology... blah blah"
http://us2.php.net/install.windows.iis
The problem comes from running PHP/CGI, the work around is to use ISAPI
instead of CGI. But that can be difficult to make a web hotel to change.
--
//Aho
Navigation:
[Reply to this message]
|