Drupal Permissions On Php File
I have a standalone PHP script which is on the same server as a Drupal installation.
I want the PHP file to only run if the user is logged into Drupal and has the proper permission.
I have this module installed in Drupal:
The user should have permission to use the advanced editor of this module before htey can run the PHP script.
If you prefer, you can convert this script to a Drupal module but it is not necessary.
I will send you the PHP script as a zip file. It does not require a database. You will need to add this functionality on your own server and then send the file back to me.
Please ask any questions before bidding.