mardi 31 mars 2015

Executing a java file in PHP

Hi I have a Java file that I want to execute when on a PHP page. I have a PHP file with the following content:



<?php
exec('java sendMail');
?>


The PHP file is being run on AWS's Elastic Beanstalk, and when I run the Java file in eclipse, it works. Any ideas?





Aucun commentaire:

Enregistrer un commentaire