Thomas Rother wrote:

> like "set_magic_quotes_gpc(1);"
> I played with
> 
> <?php
> set_magic_quotes_runtime(1);
> ?>.
> 
> in the code, but no success.

According to the docs, this should work. Try a sample page where you
just echo the quoted strings. If it doesn't work in general, it's a
PHP problem.

> Any ideas? Is there a problem of the mod_midgard translation?

No. Mod_midgard doesn't doe anything with the content. It's that the
midgard-lib database functions do the quoting for you, so the strings
should not be quoted.

> Or do I
> need to set up a different virtual host definition with "php_value
> magic_quotes_gpc on" - to separate php settings for midgard from the
> ones for the classic (hardcoded) php stuff?

That would be one way. Another -- possibly, not sure -- could be to
use a <Location /cms> to turn of the magic quotes or a <Location
/url/to/your/app> to turn them on.

Emile


---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to