[Xitami] PHP / MIME

Brian {Hamilton Kelly} xitami@lists.xitami.org
Tue, 22 Jul 2003 18:52:07 +0100


In message <001b01c3503a$e1472fd0$0500a8c0@administrator> "DJ" writes:

> just to let all of you know. I had a few hassles getting the xitami to run
> my php setup, but i found that after i edited the defaults.cfg to enable the
> filters, it wouldnt take. I then went into my xitami web browser
> configuration and found that it had listed the filter as c:phpphp.exe. didnt
> make sense to me, as i had edited the file as per instructions. I then
> edited the filter in the filters section, with the correct path, and
> everything is running well. So thank you for your help, it was greatly
> appreciated.

Hmm; had you perchance edited the file to say "c:\php\php.exe"?  I
suspect that, like many other files, if you *really* want a backslash to
appear then you need to write it as "\\".  (Since the sequence "\p" is
not a recognized character escape sequence, then the backslash was merely
ignored.)

There is NO NEED to include any backslashes in any filepath for Xitami,
even when running under an operating system that (ostensibly) uses
backslashes as path separators; this is because even Windows XP still
understands its oldest heritage and will happily understand forward
slashes as path separators (except on command lines, where the forward
slash is interpreted by the excuse for a shell as the introducer for an
option or switch).

So you ought to have had "c:/php/php.exe".

So: who told you to edit the file to include backslashes?

NB This is all conjecture on my part, but not, I think, without
foundation.
-- 
Brian {Hamilton Kelly}                                          bhk@dsl.co.uk
    "We can no longer stand apart from Europe if we would.  Yet we are
    untrained to mix with our neighbours, or even talk to them".
                                              George Macaulay Trevelyan, 1919