*/ require_once( 'commandLine.inc' ); require_once( 'nukePage.inc' ); echo( "Erase Page Record\n\n" ); if( isset( $args[0] ) ) { NukePage( $args[0], true ); } else { ShowUsage(); } /** Show script usage information */ function ShowUsage() { echo( "Remove a page record from the database.\n\n" ); echo( "Usage: php nukePage.php \n\n" ); echo( " <title> : Page title; spaces escaped with underscores\n\n" ); } ?>