database - Deleting a php file -


i'm not sure how this, have file defines (and creates) database, want run once (on installation) , not every time index.php page run, best way think? thinking of deleting file index.php when file (db_define.php) run successfully.

usually instruct person installing software run such script manually part of installation procedure.

however, if insist on having done automatically, might smarter check if db exists, or if correct version (according versioning stuff have in place... have db version stored in db, right?) , not run script in case.


Comments

Popular posts from this blog

SAP Web Service from .NET via WCF -

Optimized Line drawing in QT -

datetime - str to time in python -