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

android - Spacing between the stars of a rating bar? -

aspxgridview - Devexpress grid - header filter does not work if column is initially hidden -

c# - How to execute a particular part of code asynchronously in a class -