[PHP] When putting or ' in text field, \' or \ is returned

2003-06-15 Thread Ben Houlton
As the subject say, when putting or ' in text field, \' or \ is returned. I'm not sure why, but it only happerns when it is returned in a input - text field box. Could you tell me how to fix this. Thank you. Code Snip: $nl = ; $ascii = $ascii; $text_form = ereg_replace ( ,,

Re: [PHP] When putting or ' in text field, \' or \ is returned

2003-06-15 Thread John W. Holmes
Ben Houlton wrote: As the subject say, when putting or ' in text field, \' or \ is returned. I'm not sure why, but it only happerns when it is returned in a input - text field box. Could you tell me how to fix this. If you have magic_quotes_gpc enabled (which it is by default), then quotes will