Re: RE: RE: Sending MIME emails with base64 encoded attachments

From: Date: Wed, 06 Feb 2002 22:42:12 +0000
Subject: Re: RE: RE: Sending MIME emails with base64 encoded attachments
References: 1  Groups: php.general 
Request: Send a blank email to php-general+get-83772@lists.php.net to get a copy of this message
Hey Petr: > 2) I realize that in string obtained by fread() the following characters are > changed: > #0 () -> #92#48 (\0) > #34 (") -> #92#34 (\") > #39 (') -> #92#39 (\') > #92 (\) -> #92#92 (\\) WAIT A SECOND! You've got the magic_quotes_runtime configuration variable turned on! To solve your problem you can: a) turn off that feature via the the php.ini or .htaccess file http://www.php.net/manual/en/configuration.php#ini.magic-quotes-runtime OR b) use stripslashes() on the string you get back from the file http://www.php.net/manual/en/function.stripslashes.php Enjoy, --Dan -- PHP scripts that make your job easier http://www.analysisandsolutions.com/code/ SQL Solution | Layout Solution | Form Solution T H E A N A L Y S I S A N D S O L U T I O N S C O M P A N Y 4015 7 Ave, Brooklyn NY 11232 v: 718-854-0335 f: 718-854-0409

« previous php.general (#83772) next »