Ok, I'll consider it... But just, please, could you give me an example code of what I want to do? Thanks a lot. "Bruno Santos" <brvds@xxxxxxxxxxx> escribió en el mensaje news:405E4FD9.4000806@xxxxxxxxxxxxxx > Daniel Crespo wrote: > > >Hi everybody... > > > >Anyone knows how to store a file (any type) in MySQL? > > > >Thanks > > > > > > > hello > > 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