Hi everybody...hello
Anyone knows how to store a file (any type) in MySQL?
Thanks
MySql has binary field types, but, are they long (in size) enough for your file ?
if the file is small, i guess you could store the data in the mysql field, but, and if files are user choosen ???
why dont u consider storing the data, or the file, in some directory and just put the location (file name) in some field in the database ?? is more safe and overflow free
cheers
-- ----------------------------------------------------- .-'''''-. .' `. : : : : : _/| : Bruno Santos : =/_/ : brvds@xxxxxxxxxxx `._/ | .' ( / ,|...-' Pagina Pessoal \_/^\/||__ http://feiticeir0.no-ip.org _/~ `""~`"` \_ __/ -'/ `-._ `\_\__ /jgs /-'` `\ \ \-.\
"Written very small on the back poket of a girl's jeans - 'If you can read this, you're WAY too close.'"
-- PHP Database Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php