[Phpmyadmin-devel] bug or feature?

Steve Alberty alberty at neptunlabs.de
Wed Jun 27 16:33:25 CEST 2001


Hi Marc,

it's a good idea to leave binary data untouched.
maybe, phpmyadmin should mark the blob input field,
if the user can't edit it.

--
Steve

> -----Original Message-----
> From: phpmyadmin-devel-admin at lists.sourceforge.net
> [mailto:phpmyadmin-devel-admin at lists.sourceforge.net]On Behalf Of Marc
> Delisle
> Sent: Wednesday, June 27, 2001 4:26 PM
> To: phpmyadmin-devel at lists.sourceforge.net
> Subject: Re: [Phpmyadmin-devel] bug or feature?
>
>
> I just got a patch from a user, about this:
> "I have attached two changes I made to phpmyadmin 2.1.0 to keep
> the content of
> BLOB data fields (images for example) intact after editing a
> table row with phpmyadmin. See my
> comments in the code."
>
> I will check this and come back to you.
>
> Steve Alberty a écrit :
> >
> > Hi,
> >
> > i have found a strange phpMyAdmin reaction.
> >
> > if you insert a string like this:
> >
> > -snip-
> > for ($i=0,$str="";$i<=255;$i++) $str.=chr($i);
> > mysql_query("insert into table (xy) values('".AddSlashes($str)."')");
> > -snap-
> >
> > .. into a blob field, you can't edit and save this row if you use
> > phpMyAdmin.
> >
> > the question is, it is a bug or a feature, because it saves the
> binary data.
> >
> > --
> > Steve Alberty [mailto:alberty at neptunlabs.de]
> > NeptunLabs GbR
> > ----------------------------------------------------Ende der Nachricht--
> >
> > _______________________________________________
> > Phpmyadmin-devel mailing list
> > Phpmyadmin-devel at lists.sourceforge.net
> > http://lists.sourceforge.net/lists/listinfo/phpmyadmin-devel
>
> --
> Marc Delisle
> Service de l'informatique
> Collège de Sherbrooke, Québec
>
> _______________________________________________
> Phpmyadmin-devel mailing list
> Phpmyadmin-devel at lists.sourceforge.net
> http://lists.sourceforge.net/lists/listinfo/phpmyadmin-devel
>





More information about the Developers mailing list