MySQL Forums
Forum List  »  PHP

STORING IMAGES IN MYSQL DB
Posted by: Collins Abah
Date: June 06, 2005 09:38AM

Pls i am a PHP developer for a company;and i am working on a project.
I am working with PHP4 and MYSQL 4.1
I need to store pictures of those that are registering for my site in the database using BLOB column. I tried to get the image content using PHP file_get_contents( ) library function.
But as i want to insert the data into the column the server output an error.

Please i need a help on how i can store an image/pictures in MYSQL database using PHP script.

Thanks waiting for ur reply.

COLLINS ABAH

Options: ReplyQuote


Subject
Written By
Posted
STORING IMAGES IN MYSQL DB
June 06, 2005 09:38AM


Sorry, you can't reply to this topic. It has been closed.

Content reproduced on this site is the property of the respective copyright holders. It is not reviewed in advance by Oracle and does not necessarily represent the opinion of Oracle or any other party.