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

[PHP] Escape Characters

2003-02-27 Thread Sysadmin
Hi All, 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

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);

[PHP] Escape characters won't go away

2002-09-01 Thread Mike Mannakee
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); - Doesn't do anything 2. $string = ereg_replace("\\", "", $string); - Does

[PHP] escape characters

2002-04-03 Thread Rob Packer
In the following statement, can someone tell me what I would need to escape out if I were to put it all into a variable (I know the quotes, but that's all) : if (!$name){ $error_msg.="Your Name \n"; } Thanks, Rob -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: ht

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]

[PHP] escape characters

2001-04-06 Thread Adam
what is a list of all the characters that have to be escaped? -- 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

[PHP] Escape characters

2001-01-13 Thread Jeremy Bowen
Hey All, I am sending e-mail using the mail() command. My question is whenever an ' is used in the e-mail it is escaped like this: don\'t. Is there any way to prevent this?? Thanks, Jeremy -- PHP General Mailing List (http://www.php.net/) To unsubscribe, e-mail: [EMAIL PROTEC