Comments script with mod_rewrite
Although I have not tested the suggestion below, Brian Balestri from www.famoushookups.com reports a very simple snippet variant as follows:
I got your script to work with mod_rewrite. I used the following line:
$page_id = ($v_current_question_id * 1);
Everything else works perfectly.