Re: php script as config file]
Christian Stocker <[email protected]> 25 Oct 2002 08:37:32 +0200
| Newsgroups | gmane.editors.bitflux.devel |
|---|---|
| Message-ID | <[email protected]> |
On Fri, 2002-10-25 at 07:51, Christian Zonsius wrote:
> hi,
>
> > <body id="bxe_area" onload="BX_load('./inc/config.xml',null,'./bxe/');">
>
> i tried to use instead the config.xml a php script (like
> BX_load('./config.php', ..) ), but then bxe does not continue to load after
> showing the logo.
>
> so is it possible that the xml parser does not parse because of the file
> ending or mime type ?
because of the mime-type. Mozilla doesn't look at the ending, if the
Document comes with http. Just add to your PHP file:
header("Content-type: text/xml")
and it should work.
chregu
>
> --christian
>
>
>
>
>
> --
> bx-editor-dev mailing list
> [email protected]
> http://lists.bitflux.ch/cgi-bin/listinfo/bx-editor-dev
--
bx-editor-dev mailing list
[email protected]
http://lists.bitflux.ch/cgi-bin/listinfo/bx-editor-dev