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

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

2013-03-27 Thread Madan Thapa
Hi, I installed php 5.3.23 recently on a CentOS sever and magic_quotes_gpc stays on even when disabled in php.ini root@server [~]# grep magic_quo /usr/local/php5.3/lib/php.ini ; magic_quotes_gpc ;magic_quotes_gpc = Off magic_quotes_runtime = Off magic_quotes_sybase = Off root@server [~]# p

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

[PHP] magic_quotes_gpc on by default??

2010-02-01 Thread Rene Veerman
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/apache2/php.ini, magic_quotes_gpc is ON. I'd like to know why, since it

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

[PHP] magic_quotes_gpc? Session variables

2006-06-12 Thread Mk
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 break. Horribly. I narrowed the problem t

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

[PHP] magic_quotes_gpc setting question.

2003-12-25 Thread Rajesh Kumar
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() function? Also, if this

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

[PHP] magic_quotes_gpc and \

2003-10-09 Thread Shawn McKenzie
O.K. I'll try again from a different angle. magic_quotes_gpc = on. 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, additi

[PHP] magic_quotes_gpc - > 4.0.1 to 4.3.1

2003-06-17 Thread Petre Agenbag
Hi List Is there a difference in the way PHP handles the magic_quotes_gpc between these versions? I had 4.0.1 running on my server for a little over a year and all went well, ie, data that contained quotes etc were discreetly handles by PHP and inserted into MySQL with no problems ( when you vies

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

[PHP] magic_quotes_gpc

2003-06-10 Thread Steve Marquez
Anyone know how to change the magic_quotes_gpc? I need it to be on in PHP. Running PHP 4.1.2 Thanks, Steve Marquez [EMAIL PROTECTED] -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

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
2 3:40 AM > To: [EMAIL PROTECTED] > Subject: [PHP] magic_quotes_gpc > > Hi all, > > I have a quetion on magic_quotes_gpc. > The php.ini file on my test servers shows that magic_quotes_gpc=On. > The php.ini file on the production server shows that magic_quotes_gpc=Off. > ==&g

[PHP] magic_quotes_gpc

2002-10-14 Thread Wilbert Enserink
Hi all, I have a quetion on magic_quotes_gpc. The php.ini file on my test servers shows that magic_quotes_gpc=On. The php.ini file on the production server shows that magic_quotes_gpc=Off. ==> I know this is a strange thing:-( So you guess what happened: all the scripts I have don't function

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
EMAIL PROTECTED] Subject: [PHP] magic_quotes_gpc Hi, Is it possible to activate magic_quotes_gpc on a server running PHP 3.0.16 without the php.ini settings being physically altered? I ask became my hosting company is hesitant to activate it for some unknown reason - however without it I cannot

[PHP] magic_quotes_gpc

2002-02-25 Thread Tim Thorburn
Hi, Is it possible to activate magic_quotes_gpc on a server running PHP 3.0.16 without the php.ini settings being physically altered? I ask became my hosting company is hesitant to activate it for some unknown reason - however without it I cannot enter information into a database for a conten