Re: [PHP-DB] Best ORM?

2008-02-19 Thread Daniel Brown
On Feb 19, 2008 5:46 PM, D Unit <[EMAIL PROTECTED]> wrote: > > Hi, > > I have an existing database and an existing set of classes. As my code base > is growing, manually writing SQL to map between the two is getting old. My > classes/database do not match up ActiveRecord style. Which is the best OR

[PHP-DB] Best ORM?

2008-02-19 Thread D Unit
Hi, I have an existing database and an existing set of classes. As my code base is growing, manually writing SQL to map between the two is getting old. My classes/database do not match up ActiveRecord style. Which is the best ORM for mapping between the two? Thanks -- View this message in conte

Re: [PHP-DB] Uploading Image using PHP and mySQL

2008-02-19 Thread Daniel Brown
On Feb 18, 2008 6:56 PM, Chris <[EMAIL PROTECTED]> wrote: > $query = "INSERT INTO artist (name,about_u,imgdata, profile_url) > VALUES('$aname','$aboutu','$uploadedImage','$url_provided')"; > > You have an sql injection problem here. Read up about that on the > phpsec.org site: > > http://phpsec.org

Re: [PHP-DB] Uploading Image using PHP and mySQL

2008-02-19 Thread Daniel Brown
On Feb 18, 2008 6:56 PM, Chris <[EMAIL PROTECTED]> wrote: > Which bit breaks exactly? Nobody's going to read through 200 lines of code.. Normally, you're right but today I did just to be a jerk and prove you wrong. ;-P > Nasreen Laghari wrote: > > Hi All, > > > > First of all A very big