There ARE ways to call a program from an html page, but not if you want it to return a value to the place it was called from. If all you want to do is call the program to update some stats, for instance, use an IMG tag, and have your program return a 1x1 pixel transparent gif when it is done (with the appropriate content type header). Meddle not in the affairs of dragons,
For you are crunchy, and good with mustard.