Re: [PHP] dealiong with quote's in SQL strings

2003-06-13 Thread Marek Kilimajer
Yes, there is a performance hit. And the oddity is (if set globaly in php.ini) you have to stripslashes() everything you want to echo to the browser. So I would recomend you to ini_set() magic_quotes_runtime on right before this process and then turn it off. Petre Agenbag wrote: Thanks, it was

Re: [PHP] dealiong with quote's in SQL strings

2003-06-13 Thread Petre Agenbag
Thanks, it was there right infront of me... Just as a matter of interest, are there security/performance issues with this setting as well as the magic_quotes_gpc or other oddities that it could cause? On Fri, 2003-06-13 at 15:54, CPT John W. Holmes wrote: > > I recently installed 4.3.1 and enable

Re: [PHP] dealiong with quote's in SQL strings

2003-06-13 Thread CPT John W. Holmes
> I recently installed 4.3.1 and enabled the magic_quotes_gpc to deal with > quotes in mysql inserts. > > However, I think I have run into a problem that might be related, and > was wondering if there is an easy way to fix it: > > I have a script that gets user input from a drop-down, on the acti

Re: [PHP] dealiong with quote's in SQL strings

2003-06-13 Thread Petre Agenbag
lash (\) and NUL (the NULL byte). > > - Original Message - > From: "Petre Agenbag" <[EMAIL PROTECTED]> > To: <[EMAIL PROTECTED]> > Sent: Friday, June 13, 2003 2:43 PM > Subject: [PHP] dealiong with quote's in SQL strings > > > > Hi Lis

Re: [PHP] dealiong with quote's in SQL strings

2003-06-13 Thread Awlad Hussain
d NUL (the NULL byte). - Original Message - From: "Petre Agenbag" <[EMAIL PROTECTED]> To: <[EMAIL PROTECTED]> Sent: Friday, June 13, 2003 2:43 PM Subject: [PHP] dealiong with quote's in SQL strings > Hi List > > I recently installed 4.3.1 and enabled

[PHP] dealiong with quote's in SQL strings

2003-06-13 Thread Petre Agenbag
Hi List I recently installed 4.3.1 and enabled the magic_quotes_gpc to deal with quotes in mysql inserts. However, I think I have run into a problem that might be related, and was wondering if there is an easy way to fix it: I have a script that gets user input from a drop-down, on the action pa