Without seeing this other CGI script, impossible to answer. The counter is controlled by jump.cgi, specifically the section marked off by
#Bump the counter one...
You won't need to get the URL, since it is presumably given in the story link, but you will have to pass the ID back to (a modified version of) jump.cgi somehow. The question is, how to implement that without messing up the original URL...
#Bump the counter one...
You won't need to get the URL, since it is presumably given in the story link, but you will have to pass the ID back to (a modified version of) jump.cgi somehow. The question is, how to implement that without messing up the original URL...