You are here: Re: Need to automatically import new data « All PHP « IT news, forums, messages
Re: Need to automatically import new data

Posted by J.O. Aho on 08/05/06 08:11

Shooter wrote:
> I don't follow you. We're not trying to create a CSV, we're trying to either
> update or replace an existing database with the most recent data (from a CSV
> file)...?

Don't see the point of using PHP for this, there are loads of cvs to mysql
scripts out in the world that would fix this for you. You can then just create
a directory where you place the new cvs, in crontab you can run a small script
that checks if the file is there, if so, run the cvs2mysql script and delete
the cvs, if no new file, then don't do anything.


//Aho

 

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

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