I'm fairly new to web design / build. I am currently designing a website and need to use a small Linux keygen application for automatically providing a licence key based on a users input. The application is a stand alone small application but I would need to run from script. Could I get some advice on
1. Where is the best place to put the application so I can access from script
2. Some advice on the best scripting applications??

Sorry in advance if there is not enough information.