george
12-14-2005, 07:31 AM
forgive me for this newbie/lazy question...
i need to create a system to store multiple sets of license keys and distribute them from my website. first i used php to create a simple flat file database consisting of multiple text files, but then i learned that flock() is not very reliable, especially with multithreaded servers... of course i don't want the same license key sent twice to two different customers.... so i need to use mysql for the best reliability, correct?
problem is, i've NEVER used mysql, let alone any other database. my webhost gives me one mysql database, so let me know if this is possible:
can i have a single database contain multiple different sets of data, i.e. two sets of license key lists (like one from personal version, one for professional version), customer download list, etc.? how does that work??? something to do with mysql records which i read somewhere??? oh, and is phpmyadmin good, that's what my webhost gave me?
as you can see, i have no idea what i'm talking about :) my searches on google have failed thus far... also, if u know a good tutorial on using php/mysql please give me the link...
please give me any info you can... after developing a project for over a year, this is the last thing i wanna do now - i know u guys know the feeling. thanks!
i need to create a system to store multiple sets of license keys and distribute them from my website. first i used php to create a simple flat file database consisting of multiple text files, but then i learned that flock() is not very reliable, especially with multithreaded servers... of course i don't want the same license key sent twice to two different customers.... so i need to use mysql for the best reliability, correct?
problem is, i've NEVER used mysql, let alone any other database. my webhost gives me one mysql database, so let me know if this is possible:
can i have a single database contain multiple different sets of data, i.e. two sets of license key lists (like one from personal version, one for professional version), customer download list, etc.? how does that work??? something to do with mysql records which i read somewhere??? oh, and is phpmyadmin good, that's what my webhost gave me?
as you can see, i have no idea what i'm talking about :) my searches on google have failed thus far... also, if u know a good tutorial on using php/mysql please give me the link...
please give me any info you can... after developing a project for over a year, this is the last thing i wanna do now - i know u guys know the feeling. thanks!