Uploading Files With PHP

Hello,

 Is it possible to have a PHP form that people can upload files such as images to a MySQL database, or does it have to be uploaded to just a folder. If anyone had a tutorial, or could explain anything about this please reply :-)

Thanks,

Peter

Once you’ve got the basic file uploading you can try this tute to add images into a mysql database:

http://www.spoono.com/php/tutorials/tutorial.php?id=42

One way to do it is to upload them to a folder and put the filenames in a database. When your calling for the image you and put the image tag and the path to the upload folder then query the database for the filename your looking for that you put at the end of the filepath.

hit up this thread for a good start.

http://www.kirupaforum.com/forums/showthread.php?t=54186&highlight=Upload+PHP+Mysql