Menu

Using tablename "user" is fucking bad style!

Michael
2003-11-24
2003-11-25
  • Michael

    Michael - 2003-11-24

    Phpay overwrites existing database-tables called "user" without asking the administrator. So if you install Phpay into the same database where your forum, guestbook, or whatever runs, say byebye to your data!

    Suggestion1:
    Using customer would be a better description for a shop-system.

    Suggestion2:
    Using a databasePrefix for tables like PHPAY (PHPAYcustomers, PHPAYitem, PHPAYprice) is good style! Becaus this gives unique table names.

    Mika

     
    • Andreas Kansok

      Andreas Kansok - 2003-11-25

      Yes a prefix for tables is on todo list and sleeps in db_func.inc.php.
      Please search for 'prefix' in 2.02-forum to find some informations about - in German :-(

      Greetings,
      Andreas.

       

Log in to post a comment.

Want the latest updates on software, tech news, and AI?
Get latest updates about software, tech news, and AI from SourceForge directly in your inbox once a month.