Hi there,
I'm wanting to set up a script where if the liceince number is incorrect, it won't work.
How do I check whether a liceince is valid from a remote server? (E.g: their website connects to my website and my website checks if the licience is valid. If not it sends back a $ so I can stop the script from working)
Thanks
Ben
Liceincing Check
Moderator: General Moderators
you got the logic.
1)have remote server access your site with their liscence.
2)have your site check against a db most like to see if they have a valid liscence.
2a)if it is valid then send something back that will activate the rest of the script.
2b)if not return back a different code that will stop the script from working or you could be really mean and even maybe delete the script.
the trouble will be is if they also have direct access to your script then any programmer will probably be able to code in a work around.
the other option is for the script to reside on your server and the have to include it so they don't have direct access to it but depending on the popularity of your script then you could run into bandwith issues.
1)have remote server access your site with their liscence.
2)have your site check against a db most like to see if they have a valid liscence.
2a)if it is valid then send something back that will activate the rest of the script.
2b)if not return back a different code that will stop the script from working or you could be really mean and even maybe delete the script.
the trouble will be is if they also have direct access to your script then any programmer will probably be able to code in a work around.
the other option is for the script to reside on your server and the have to include it so they don't have direct access to it but depending on the popularity of your script then you could run into bandwith issues.