dynamic online licenses in PHP