how to run external program from php with exec command using relative paths?
<?php
exec('program_name ......');
?>
this works only if program_name.exe is in the same directory as this php script. for example
exec('something/program_name ......');
doesnt work if php script is not in the 'something' directory. anybody know how use relative paths in exec command ? thanks