php-general | 2001072
Date: 07/24/01
- Next message: Richard Kitamura - Media Net Link, Inc.: "[PHP] PHP function to extract EXIF data from JPGs?"
- Previous message: Kurt Lieber: "RE: [PHP] Trouble with getimagesize"
- In reply to: Chris Cocuzzo: "[PHP]Question about escaping a character"
- Next in thread: Chris Cocuzzo: "Re: [PHP]Question about escaping a character"
- Reply: Chris Cocuzzo: "Re: [PHP]Question about escaping a character"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
Run the string through stripslashes() before you write
it to the file...
http://www.php.net/manual/en/function.stripslashes.php
Cheers
-bob
-- Bob Scott Web / DB Developer http://www.covalent.net Covalent Technologies, Inc.On Tue, 24 Jul 2001, Chris Cocuzzo wrote:
> hey- > > I have a textarea field for an admin page which does allow me to enter in > basically anything, including HTML. The information is written to a > text-file, from which info is pulled on a different page. When the info is > read on that page(this is not the admin page right here)...all the single > quote marks are escaped with a backslash. how do i fix that so that the > quotes look normal when the file is read? > > chris > > > -- > PHP General Mailing List (http://www.php.net/) > To unsubscribe, e-mail: php-general-unsubscribe <email protected> > For additional commands, e-mail: php-general-help <email protected> > To contact the list administrators, e-mail: php-list-admin <email protected> > >
-- PHP General Mailing List (http://www.php.net/) To unsubscribe, e-mail: php-general-unsubscribe <email protected> For additional commands, e-mail: php-general-help <email protected> To contact the list administrators, e-mail: php-list-admin <email protected>
- Next message: Richard Kitamura - Media Net Link, Inc.: "[PHP] PHP function to extract EXIF data from JPGs?"
- Previous message: Kurt Lieber: "RE: [PHP] Trouble with getimagesize"
- In reply to: Chris Cocuzzo: "[PHP]Question about escaping a character"
- Next in thread: Chris Cocuzzo: "Re: [PHP]Question about escaping a character"
- Reply: Chris Cocuzzo: "Re: [PHP]Question about escaping a character"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]

