Re: [PHP] Escape Characters

2003-02-27 Thread 1LT John W. Holmes
> I'm running a script that reads the contents of images and stores them > in a MySQL database. The problem I'm running into is that my server is > seeing "\" as escape characters and stripping them out. I assume this > has something to do with "Magic Quotes" or something of that nature but > I'm

Re: [PHP] Escape characters won't go away

2002-09-01 Thread Mike Mannakee
Thanks. I just figured it out myself. I had to change the expression: $string= ereg_replace("[\\]+", "", $string); The above is what worked. Mike "Justin French" <[EMAIL PROTECTED]> wrote in message [EMAIL PROTECTED]">news:[EMAIL PROTECTED]... > on 02/09/02 1:14 PM, Mike Mannakee ([EMAIL PR

Re: [PHP] Escape characters won't go away

2002-09-01 Thread Justin French
on 02/09/02 1:14 PM, Mike Mannakee ([EMAIL PROTECTED]) wrote: > I'm getting multiple backslashes in data I get out of a mysql database. > > Example : > > ...Here\\\'s the d... > > No problem. Except I CANT GET RID OF THEM. I've tried several things: > > 1. $string = stripslashes($string);

Re: [PHP] escape characters

2001-04-06 Thread Adam
nevermind, i found them -- PHP General Mailing List (http://www.php.net/) To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] To contact the list administrators, e-mail: [EMAIL PROTECTED]

Re: [PHP] Escape characters

2001-01-13 Thread Cynic
mail( 'email@address' , 'subject' , stripslashes( $body ) ) ; At 04:22 14.1. 2001, Jeremy Bowen wrote the following: -- >Hey All, > >I am sending e-mail using the mail() command. My question is whenever >an ' is used in