I have a php script that does some querying and book keeping of drupal tables. How can I run this php script directly from the url? The script uses drupal functions so I guess it should be aware of the API.
When I go to
mysite.com/script.php I would like this file to run...
Is there any includes that I can add and then run the script so that it is drupal aware and at the same time, does not need to go through all the view/node/block etc? Basically I do not want to add this page as a PHP block data into one of the nodes, I would like to run in directly from the URL.