Re: mysql - image storing

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Tuesday 18 January 2005 19:30, mel list_php wrote:

[snip]

> $donnees=stripslashes($row[donnees_binaires]);

[snip]

> -I tried different combinations with addslashes/stripslashes, trim in case
> of spaces, mysql_real_escape_string...

I haven't looked at your code in detail but stripslashes() should never be 
used on data retrieved from the DB (that is assuming your data was inserted 
correctly in the first place).

-- 
Jason Wong -> Gremlins Associates -> www.gremlins.biz
Open Source Software Systems Integrators
* Web Design & Hosting * Internet & Intranet Applications Development *
------------------------------------------
Search the list archives before you post
http://marc.theaimsgroup.com/?l=php-db
------------------------------------------
New Year Resolution: Ignore top posted posts

-- 
PHP Database Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php


[Index of Archives]     [PHP Home]     [PHP Users]     [Postgresql Discussion]     [Kernel Newbies]     [Postgresql]     [Yosemite News]

  Powered by Linux