Jump to content

Storing 1 piece of info in DB for server module - how?


dansgalaxy

Recommended Posts

I have developed a server module, however its licensed, I need to store 1 string somewhere, was trying to store in a flat file, however this seems to be having some issues and ideally i'd like it in a DB so don't have to hassle users with making sure the cache file has the right permissions etc...

 

Is there a nice place I can just store a string in the DB which won't require me creating a whole new table! :-/

 

Cheers!

Link to comment
Share on other sites

I could think of a possible way of doing it, but I don't know anything about how you've implemented your licensing checks though. I think that you'd be better to just create a custom table to store the licensing information. It's simple enough to do a check if the table exists, and if not, create it.

Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...

Important Information

By using this site, you agree to our Terms of Use & Guidelines and understand your posts will initially be pre-moderated