marpis
2010-01-16 04:48:25
Hi.
I believe we all would really enjoy an authentication system, so we could choose who can use our scripts and perhaps sell them? (not in SRL!)
I do not know PHP very well, and I'd like someone to write a PHP script that worked like this:
authentication.php would "result" either 'True' or 'False' or whatever if the authentication key was found in the list of correct authkeys.
Another great thing would be if the system had a control panel for the script author. http://myhost.com/authpanel.php required a password which is only known by the author ofcourse, and you could see all IPs that have the authentication keys. The site would then look like this
[php]
DATE || AUTHKEY || IP ADDRESS
==================================================
January 12th 2010 || 8AH27615D || 92.176.123.223
January 11th 2010 || 8AH27615D || 92.176.123.223
January 11th 2010 || HASD6JDAS || 72.825.654.122
January 9th 2010 || 8AH27615D || 92.176.123.223
January 8th 2010 || HASD6JDAS || 72.825.654.122
[/php]
This would prevent spreading an authkey and letting everyone use it for free.
:)
I believe we all would really enjoy an authentication system, so we could choose who can use our scripts and perhaps sell them? (not in SRL!)
I do not know PHP very well, and I'd like someone to write a PHP script that worked like this:
Function Authentication: Boolean;
Var
S: String;
Begin
S := GetIPstring; // <-- IP could be taken from connecting to "www.showmyip.com" or something like that.
Result := StrToBool(GetPage('http://myhost.com/authentication.php?321823')); // <-- 321823 is the authkey
End;
authentication.php would "result" either 'True' or 'False' or whatever if the authentication key was found in the list of correct authkeys.
Another great thing would be if the system had a control panel for the script author. http://myhost.com/authpanel.php required a password which is only known by the author ofcourse, and you could see all IPs that have the authentication keys. The site would then look like this
[php]
DATE || AUTHKEY || IP ADDRESS
==================================================
January 12th 2010 || 8AH27615D || 92.176.123.223
January 11th 2010 || 8AH27615D || 92.176.123.223
January 11th 2010 || HASD6JDAS || 72.825.654.122
January 9th 2010 || 8AH27615D || 92.176.123.223
January 8th 2010 || HASD6JDAS || 72.825.654.122
[/php]
This would prevent spreading an authkey and letting everyone use it for free.
:)