I need to convert a few lines of a console application into php.
I have a console application called Keygen. (You can download it here)
I already have the keygen console application converted to php (for Wordpress), but I need to add one more parameter from the console application to php.
In order for the keygen application to work on Wordpress, I have 2 php files:
The purpose of this keygen is to produce activation codes for a computer program.
The user enters their computer code and the keygen generates an activation code.
Everything works fine and I have the php coded working on my website
However, my php code only generates activation codes which activate the computer program forever.
I need the code in the php adapted so that the activation code will only activate the program for a limited time such as 1 year, 2 years, 6 months, etc.
To do this, I need to get the 'Expiration Timeout' parameter from the console application and add it to my keygen.php file.
You can read more about it here:
This will be an easy project for candidates who understand console applications and php.