I have a binary executable that I'm trying to call within a drupal module using the php exec() command. I need this to return an array with the values. This works with a regular php file but doesn't work within the drupal module. If someone can help me with this, I would be glad to pay $30 via an Amazon.com gift voucher. I can't use Paypal.

Let me know and I'll send you the working php files and the module.

Thanks,

Vic

Comments

nevets’s picture

You might want to mention the operating system this needs to work under.

Vic96’s picture

The OS is Linux running Apache web server.

highermath’s picture

Check to make sure that PHP is not running in safe mode.