Re: [PHP] magic_quotes_gpc stays on even when disabled in php.ini

2013-03-28 Thread Madan Thapa
Turned out that this was due to cafeFS in cloudlinux, and i had to copy the php.ini file inside cafeFS skeleton, so not any php issue in this case I thank you all for your inputs On Thu, Mar 28, 2013 at 7:52 PM, Jim Giner wrote: > On 3/27/2013 8:43 PM, Daniel Fenn wrote: > >> I think ";ma

Re: [PHP] magic_quotes_gpc stays on even when disabled in php.ini

2013-03-28 Thread Jim Giner
On 3/27/2013 8:43 PM, Daniel Fenn wrote: I think ";magic_quotes_gpc = Off" should be "magic_quotes_gpc = Off" Then restart apache/php or whatever it is your running Regards, Daniel Fenn On Thu, Mar 28, 2013 at 11:39 AM, Madan Thapa wrote: Hi, I installed php 5.3.23 recently on a CentOS

Re: [PHP] magic_quotes_gpc stays on even when disabled in php.ini

2013-03-27 Thread Daniel Fenn
I think ";magic_quotes_gpc = Off" should be "magic_quotes_gpc = Off" Then restart apache/php or whatever it is your running Regards, Daniel Fenn On Thu, Mar 28, 2013 at 11:39 AM, Madan Thapa wrote: > Hi, > > I installed php 5.3.23 recently on a CentOS sever and magic_quotes_gpc > stays on

Re: [PHP] magic_quotes_gpc on by default??

2010-02-01 Thread Rene Veerman
itsa homeserver, so i recon it was ubuntu.. buncha lamers :) On Mon, Feb 1, 2010 at 7:51 PM, Ashley Sheridan wrote: > On Mon, 2010-02-01 at 19:44 +0100, Rene Veerman wrote: > > I've just wasted a few hours by trying to find a bug in my code that > messed up my JSON-passed-on-$_GET. > I'm using

Re: [PHP] magic_quotes_gpc on by default??

2010-02-01 Thread Ashley Sheridan
On Mon, 2010-02-01 at 19:44 +0100, Rene Veerman wrote: > I've just wasted a few hours by trying to find a bug in my code that > messed up my JSON-passed-on-$_GET. > I'm using fopen() so please no nagging about putting JSON in $_POST.. > > I finally found the answer; in my distro's /etc/php5/apach

Re: [PHP] magic_quotes_gpc? Session variables

2006-06-12 Thread tedd
At 8:08 AM -0400 6/12/06, Mk wrote: >Hey gang, > > I was having the weirdest problems when I decided to update the code for my > site(written in PHP) last modified over a year ago. The code ran fine under > my home development system, but on the hosting machine(1and1.com), my code > would bre

Re: [PHP] magic_quotes_gpc setting question.

2003-12-26 Thread Marek Kilimajer
Rajesh Kumar wrote: Hello, Here I've got a few related questions, which are not stated explicitly in the manual. 1. The manual says that the magic_quotes_gpc setting cannot be set at runtime. Is it not possible to set this setting in an ini file, and parse it with the parse_ini_file() func

RE: [PHP] magic_quotes_gpc and \

2003-10-10 Thread Johnson, Kirk
> If I have a form that POSTS a textarea that contains PHP > code. Say some > code that contains legitimate escapes \ like: > > echo "http://somewhere.com\";>Click"; > > When the data is posted and received in the destination > script, additional > escapes \ are added. So how do I get to the

RE: [PHP] magic_quotes_gpc

2003-06-10 Thread John W. Holmes
> Anyone know how to change the magic_quotes_gpc? I need it to be on in PHP. > > Running PHP 4.1.2 Change it in php.ini or in an .htaccess file. ---John W. Holmes... Amazon Wishlist: http://www.amazon.com/o/registry/3BEXC84AB3A5E PHP Architect - A monthly magazine for PHP Professionals. Get y

RE: [PHP] magic_quotes_gpc

2002-10-14 Thread John W. Holmes
-John Holmes... > -Original Message- > From: W. Enserink [mailto:[EMAIL PROTECTED]] > Sent: Monday, October 14, 2002 3:59 AM > To: [EMAIL PROTECTED]; [EMAIL PROTECTED] > Subject: Re: [PHP] magic_quotes_gpc > > Hi John, > > > > that sounds like a great solution

Re: [PHP] magic_quotes_gpc

2002-10-14 Thread W. Enserink
ohn W. Holmes" <[EMAIL PROTECTED]> To: "'Wilbert Enserink'" <[EMAIL PROTECTED]>; <[EMAIL PROTECTED]> Sent: Monday, October 14, 2002 9:47 AM Subject: RE: [PHP] magic_quotes_gpc > If you're on apache, you can use an .htaccess file > > php_value ma

RE: [PHP] magic_quotes_gpc

2002-10-14 Thread John W. Holmes
If you're on apache, you can use an .htaccess file php_value magic_quotes_gpc 1 otherwise change it in php.ini or program for both settings... ---John Holmes... > -Original Message- > From: Wilbert Enserink [mailto:[EMAIL PROTECTED]] > Sent: Monday, October 14, 2002 3:40 AM > To: [EMAI

Re: [PHP] magic_quotes_gpc

2002-02-26 Thread Pete Lacey
Is your ISP running Apache? If so, they should allow you to create a .htaccess file. You can set all of PHP's ini parameters from there with the php_value/php_flag directives in PHP 4 or (in)directly using PHP 3. Like this: # PHP 4 php_flag magic_quotes_gpc on # PHP 3 php3_magic_quotes_gpc

RE: [PHP] magic_quotes_gpc

2002-02-26 Thread Gonzalez, Zara E
Bah. I should read posts carefully when I answer them. Ini_alter is only in php4. Whoops. Zara -Original Message- From: Gonzalez, Zara E Sent: Tuesday, February 26, 2002 11:29 AM To: 'Tim Thorburn'; [EMAIL PROTECTED] Subject: RE: [PHP] magic_quotes_gpc I don't kno

RE: [PHP] magic_quotes_gpc

2002-02-26 Thread Gonzalez, Zara E
I don't know if anyone has answered your question yet, but you should be able to use the ini_alter command. http://www.php.net/manual/en/function.ini-alter.php Zara -Original Message- From: Tim Thorburn [mailto:[EMAIL PROTECTED]] Sent: Monday, February 25, 2002 12:40 PM To: [EMAIL PROT