Posted by MBS on 11/16/05 14:19
"Rik" <luiheidsgoeroe@hotmail.com> wrote in news:dlf7km$6fa$1
@netlx020.civ.utwente.nl:
> MBS wrote:
>> I am playing around with some PHP code. I want to put in an include()
>> function so I can include existing HTML code and output it to the
>> browser.
>>
>> Lo and behold PHP does not support relative paths with the include()
>> function!
>
> It does, works perfectly here in PHP4 and PHP5.
> Search your code for errors.
>
> Grtz,
>
> Rik
>
>
>
No, it does not work.
I have a file in the directory of the currently executing php code. One
would assume the following would work:
include 'myfile.hmtl';
But it does not work.
I'm using PHP5 on WinXP and Apache 2.
[Back to original message]
|