If it were ASP you would use either a third party ASP component such as ASP Upload or the MicroSoft equivalent. I suspect the same is true for PHP (ie: you'll need to buy/find a third party component of some kind in order to do this -- I don't know PHP though so I am guessing -- hopefully someone with more PHP knowledge than me will get back to you.)
If you're not using BLOBs (which are best avoided anyway), then there is little MySQL in your solution - you merely need to store the location of the stored image on the disk in the relevant field for each upload.
MarcusJT
- former ASP web developer / former SPF "ASP Guru"
- *very* old blog with some useful ASP code
- Please think, Google, and search these forums before posting!
Bookmarks