PHP Script - Minor fix

Closed - This job posting has been filled and work has been completed.

Job Description

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)
http://www.mediafire.com/?7crih7w9khm97dp

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:
activation_code.php
and
keygen.php

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:
http://lockxls.com/help.asp?hid=ht_keygen

This will be an easy project for candidates who understand console applications and php.