Hi David
As Joao pointed,
http://khep.dcc.fc.up.pt/~fdabrandao/vpsolver/ seems to be good example of what you are trying to do with cspsol. My web development skills are not very good, so I do not have direct answer for you, but I tried to find out internal details of above URL using browser tools.
It looks like PHP ("solve.php") is used to execute the C/C++ program and _javascript_ is used to manage input and output between webpage and the C++ programs, following is the some code segment:
$.post("solve.php", { "instance": inst }).done(function(data) {
//alert(data);
Pid = parseInt(data);
if(Pid == -1){
msgpopup("Please try again later.", false);
$('#logcontent').val("The server is busy. Please try again later.");
}else if(Pid == -2){
Pid = -1;
msgpopup("Please try again later.", false);
$('#logcontent').val("You've reached your submission limit. Please wait and try again later.");
}
});
Standard way of executing a C++ program on webserver is CGI. All the best for hackathon and do post about your GLPK project.