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

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

2008-02-18 Thread Chris
Nasreen Laghari wrote: Hi All, First of all A very big thank you to all of you for solving my Password() encryption problem. Now I'm stuck on new problem which is image not uploading. I'm using the following code. Which bit breaks exactly? Nobody's going to read through 200 lines of code..

[PHP-DB] Uploading Image using PHP and mySQL

2008-02-18 Thread Nasreen Laghari
Hi All, First of all A very big thank you to all of you for solving my Password() encryption problem. Now I'm stuck on new problem which is image not uploading. I'm using the following code. Regards Nasreen 0){ echo "Image has been inserted succesfully"; } else { echo "Image can no

[PHP-DB] Uploading Image using PHP and mySQL

2008-02-18 Thread Nasreen Laghari
Hi All, First of all A very big thank you to all of you for solving my Password() encryption problem. Now I'm stuck on new problem which is image not uploading. I'm using the following code. Regards Nasreen 0){ echo "Image has been inserted succesfully"; } else { echo "Image can not be i