Re: [PHP] slash trouble when editing text

2003-06-11 Thread Miles Thompson
Check out stripslashes(). MT At 04:16 PM 6/11/2003 -0400, Matt Palermo wrote: I wrote a small script that creates a link to all the .php and .txt files in a given directory. When one of these links is clicked, it brings up another window with the files contents inserted into a text area. From

Re: [PHP] slash trouble when editing text

2003-06-11 Thread Alex Earl
- Original Message - > From: "CPT John W. Holmes" <[EMAIL PROTECTED]> > To: "Matt Palermo" <[EMAIL PROTECTED]>; <[EMAIL PROTECTED]> > Sent: Wednesday, June 11, 2003 4:42 PM > Subject: Re: [PHP] slash trouble when editing text > > >> Use stripslas

Re: [PHP] slash trouble when editing text

2003-06-11 Thread Matt Palermo
ROTECTED]>; <[EMAIL PROTECTED]> Sent: Wednesday, June 11, 2003 4:42 PM Subject: Re: [PHP] slash trouble when editing text > Use stripslashes() to remove the slashes. Use htmlentities() on the text > before you put it into the , also. > > ---John Holmes... > > - Origina

Re: [PHP] slash trouble when editing text

2003-06-11 Thread CPT John W. Holmes
Use stripslashes() to remove the slashes. Use htmlentities() on the text before you put it into the , also. ---John Holmes... - Original Message - From: "Matt Palermo" <[EMAIL PROTECTED]> To: <[EMAIL PROTECTED]> Sent: Wednesday, June 11, 2003 4:16 PM Subject: [P

[PHP] slash trouble when editing text

2003-06-11 Thread Matt Palermo
I wrote a small script that creates a link to all the .php and .txt files in a given directory. When one of these links is clicked, it brings up another window with the files contents inserted into a text area. From there the user can edit the text file then click a submit button to make the c