how to delete a node programitically in drupal 6?
The node_delete() function requires to have the delete permission for the current logged user.
If you run the node_delete() function as anon user, is probably that doesn't work