in reply to License key for script

Um,
if( subscription_is_expired() ){ print_subscription_expired_notice(); exit; }
Or see Crypt::License