Re: [PHP] Why are slashes automatically stripped from db result?

2001-12-04 Thread Steve Cayford
Monday, December 03, 2001 6:04 PM > Subject: RE: [PHP] Why are slashes automatically stripped from db > result? > > >> maybe mysql is stripping the slashes and not php ?? >> >> -Original Message- >> From: Steve Cayford [mailto:[EMAIL PROTECTED]] >

Re: [PHP] Why are slashes automatically stripped from db result?

2001-12-03 Thread Mike Eheler
age- >From: Steve Cayford [mailto:[EMAIL PROTECTED]] >Sent: Tuesday, December 04, 2001 10:57 AM >To: [EMAIL PROTECTED] >Subject: [PHP] Why are slashes automatically stripped from db result? > > >Hey all. I'm storing some jpeg images in a mysql database using the PEAR &

Re: [PHP] Why are slashes automatically stripped from db result?

2001-12-03 Thread Tyler Longren
D]> To: "'Steve Cayford'" <[EMAIL PROTECTED]>; <[EMAIL PROTECTED]> Sent: Monday, December 03, 2001 6:04 PM Subject: RE: [PHP] Why are slashes automatically stripped from db result? > maybe mysql is stripping the slashes and not php ?? > > -Original M

RE: [PHP] Why are slashes automatically stripped from db result?

2001-12-03 Thread Martin Towell
maybe mysql is stripping the slashes and not php ?? -Original Message- From: Steve Cayford [mailto:[EMAIL PROTECTED]] Sent: Tuesday, December 04, 2001 10:57 AM To: [EMAIL PROTECTED] Subject: [PHP] Why are slashes automatically stripped from db result? Hey all. I'm storing some

[PHP] Why are slashes automatically stripped from db result?

2001-12-03 Thread Steve Cayford
Hey all. I'm storing some jpeg images in a mysql database using the PEAR classes. Before inserting the image into the db I call addslashes() on the data, I was, accordingly, calling stripslashes() on the data after pulling the image back out of the database, but the image was getting mangled.