You are here: Re: from mysql to php « All PHP « IT news, forums, messages
Re: from mysql to php

Posted by Lorenzo Bettini on 01/23/07 07:51

J.O. Aho wrote:
> Lorenzo Bettini wrote:
>
>>> You can even take this a level higher and include checks in the
>>> regular php code that checks if the database is up to date if a sql
>>> query fails, if it notice that the database isn't of the right
>>> format, it updates the database and then redo the sql query, this way
>>> the user don't have to run any update.php or run a sql file.
>
>> yes, but this would perform the check for every sql query... it might
>> have too much overhead...
>
> You can do as many of the portal systems does, provide a script that
> updates from previous version to current version, if someone has skipped
> an update, then it's kind of their problem.
>

I'm already doing this :-)

--
Lorenzo Bettini, PhD in Computer Science, DSI, Univ. di Firenze
ICQ# lbetto, 16080134 (GNU/Linux User # 158233)
HOME: http://www.lorenzobettini.it MUSIC: http://www.purplesucker.com
BLOGS: http://tronprog.blogspot.com http://longlivemusic.blogspot.com
http://www.gnu.org/software/src-highlite
http://www.gnu.org/software/gengetopt
http://www.gnu.org/software/gengen http://doublecpp.sourceforge.net

 

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

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