I really need some help for a problem. I'm trying to use the exec() PHP function which is directly integrated on PHP, but it doesn't work.
I've tried this :
$directory = "C:/wamp/www/ADA-WEB/Conversion";
$file ="/main.exe";
chmod($directory, 0600);
exec($directory.$file);
But nothing goes on. So, i've tried to see if an error was reported on the Apache Log, and this is what appears :
raised ADA.IO_EXCEPTIONS.NAME_ERROR : convertir\EXPORT.DAT: No such file or directory
It's a typical error that ADA may raise. But i don't understand why this error is generated. It seems that PHP runs the file on a random folder (perhaps a temp one). When i launch directly the exe on windows i don't have this kind of problem.
If you should help...
Thanks a lot.
Nicolas