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..
$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/projects/guide/3.html#3.2
and a really good basic guide here:
http://unixwiz.net/techtips/sql-injection.html
--
Postgresql & php tutorials
http://www.designmagick.com/
--
PHP Database Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php