Node management script

The attached script skeleton will enable you to do direct manipulation of Drupal 6 nodes. You can use it as a starter for doing stuff on your site. Be sure to save the script somewhere safe in case you want to re-use it after a Drupal update.