Ammendment:

Make sure you test for the proper file extension before you actually upload
it. The last thing you want is someone uploading a text file instead of the
type of file you are looking for! I forgot to add that in the code. Grab the
last 4 characters off of the end of the filename and determine if it is of
type '.jpg' or '.gif'  --completely up to you.

Cheers Joe :)


"Jennifer Downey" <[EMAIL PROTECTED]> wrote in message
[EMAIL PROTECTED]">news:[EMAIL PROTECTED]...
> If anyone knows of one, would someone please point me towards a good
> tutorial on storing images in a database then fetching them out again.
>
> I would really appreciate it and thanks in advance!
>
> Jen Downey
>
>



-- 
PHP Database Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php

Reply via email to