[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [cobalt-users] .htaccess to allow magic_quotes_gpc per directory



Thanks Jens... but it`s still not happening.

The PHP ini file uses the syntax...     magic_quotes_gpc = Off  ;

I`ve tried with this.. yours, and a few other variations as well.

Maybe I`m missing something obvious but I`d appreciate you checking out the
way I`m doing this.

1. Create plain text file in Notepad named .htaccess with 1 line
magic_quotes_gpc = On    (nothing else... eg. no <`s )

2. FTP in asci mode to relevant program directory

That`s it...  except I`ve got to do the same for      track_vars
as well... can this go on the same file.

Rgds

Jens Kristian Søgaard wrote:

> > Does anyone have experience in writing an .htaccess file to allow
> > magic_quotes_gpc (PHP4) to be 'On' on a per directory basis rather than
> > system wide.
>
> Yes, just just a php_value something like this:
>
> php_value magic_quotes_gpc on
>
> --
> Jens Kristian Søgaard, Mermaid Consulting I/S,
> jens@xxxxxxxxxxxxxxxxxxxx,
> http://www.mermaidconsulting.com/
>
> _______________________________________________
> cobalt-users mailing list
> cobalt-users@xxxxxxxxxxxxxxx
> To Subscribe or Unsubscribe, please go to:
> http://list.cobalt.com/mailman/listinfo/cobalt-users