Hi all,

If you mean http://www.webtechniques.com/archives/1998/02/lerdorf/ what
inserts in the DB is just the image's name, but not the file itself.

What is exactly the problem you are having with the class? Just a couple
days ago I had a problem uploading files into a MySQL DB because the
addslashes function. As I have seen in this code it also uses it. Your
problem is with getting corrupt data from the DB?

If it is this use base64_encode and base64_decode. This is a tip Chris
(only know his name) gave me as no solution for addslashes was given...
Thanks again Chris!!

        Sean C. McCarthy
        SCI, S.L. (www.sci-spain.com)


Richard Lynch wrote:
> 
> Rasmus' classic Photo Album is still online with source code.
> 
> Google:
> "Rasmus Lerdorf" and "Photo Album"
> 
> --
> WARNING [EMAIL PROTECTED] address is an endangered species -- Use
> [EMAIL PROTECTED]
> Wanna help me out?  Like Music?  Buy a CD: http://l-i-e.com/artists.htm
> Volunteer a little time: http://chatmusic.com/volunteer.htm
> ----- Original Message -----
> From: Mike Gifford <[EMAIL PROTECTED]>
> Newsgroups: php.general
> To: <[EMAIL PROTECTED]>
> Sent: Tuesday, September 11, 2001 2:45 PM
> Subject: Uploading Photos to MySQL
> 
> > Hello,
> >
> > Has anyone developed another class for uploading images to a MySQL
> database?
> >
> > I downlaoded upload_db.zip from:
> > http://circle.ch/scripts/
> >
> > as it was a phplib based and it looks like it should do what is required.
> > However it doesn't seem to be working.
> >
> > Does anyone else have any good pointers to scripts to store jpg/png files
> in
> > MySQL using PHP?
> >
> > Thanks.
> >
> > Mike
> > --
> > Mike Gifford, OpenConcept Consulting, http://openconcept.ca
> > Offering everything your organization needs for an effective web site.
> > Abolish Nuclear Weapons Now!: http://pgs.ca/petition/
> > In all things it is better to hope than to despair.Wolfgang von Goethe
> >
> 
> --
> 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 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]

Reply via email to