Discussions of secure PHP coding. Security in software is important, so don't be afraid to ask. And when answering: be anal. Nitpick. No security vulnerability is too small.
A bit of a complex question but i am sure that you professionals out there will know basically i have a ready made website which i sell onto businesses in which they pay a annual license fee instead of paying for the website itself. What i want to do is supply a license key to the user who puts it into their control panel. I am looking for some php code that will stop the site from working without the license fee or if the license key is entered the website then validates the key by checking the number against ones entered on a different mysql database on a different website. If the key is invalid or hasent been renewed then it stops the website from working.
Am i asking for too much or is it easier than it sound?
Thanks in advance
dicon
you may implement this by having a script residing at the database side which could get you the reg. key which you can compare with site's reg. db to see if the site is registered or not. if not, then site is blocked.