title: PHP script for Wordpress for Comment Approval
body: <p>I want to write PHP script (standalone) for comment approval.</p>
  
  <p><strong>Objective</strong>:
  I use Aksimet for comment filtering. After Akismet's filtering, few comments get passed and come to my email for approval. I will get comment ID from there and pass it to the script in get parameter (manually). </p>
  
  <p>This way I do not need to login to WP every time. The script will just approve comment so there is not much risk or harm. If script works then It will take less time and I can approve comment any time even from office. </p>
  
  <hr>
  
  <p>I tried setting the moderation bit in MySQL directly to see if it works or not! The answer is yes and no. It approves the comment but it does not refresh the post. So, my cache show post without new comment. I use Super cache plugin. </p>
  
  <p>The challenge is to write script OUTSIDE of WP environment. So, that I can access the script without Admin login. </p>
  
  <p>Please suggest trick for this and how to start for this.  </p>