You are here: Re: Importing multiple files « PHP Programming Language « IT news, forums, messages
Re: Importing multiple files

Posted by Rik Wasmus on 12/09/07 08:33

On Sun, 09 Dec 2007 06:53:29 +0100, myGoogle71 <ali711@sunnipath.com>
wrote:

> Hi,
> I have to import hundreds of file to MySQL database. Is it
> possible to write a script/storedprocedure in MySQL that does this
> without manually doing it for each file.
> Say file names are of type 'file0001.txt', 'file0002.txt' etc. Does
> MySQL provide any such utility or does anyone know of a free utility?.
> If not then what is best language to write such a script/program. Cant
> such a script be written in PHP easily?

Easily written. Check the glob() function in PHP & de LOAD_FILE() function
in MySQL.
--
Rik Wasmus

 

Navigation:

[Reply to this message]


Удаленная работа для программистов  •  Как заработать на Google AdSense  •  England, UK  •  статьи на английском  •  PHP MySQL CMS Apache Oscommerce  •  Online Business Knowledge Base  •  DVD MP3 AVI MP4 players codecs conversion help
Home  •  Search  •  Site Map  •  Set as Homepage  •  Add to Favourites

Copyright © 2005-2006 Powered by Custom PHP Programming

Сайт изготовлен в Студии Валентина Петручека
изготовление и поддержка веб-сайтов, разработка программного обеспечения, поисковая оптимизация