Why don't you try to use the system() function call? I use it to launch different programs on a server and it works perfectly. Be sure the sendfax application is launchable by the apache daemon.

Best Regards,


Coert Metz wrote:
Hi everybody

I have some few problems with the shell_exec command.
I want to send a fax with hylafax using the sendfax program in linux.
When I try to do shell_exec ("sendfax -n -d faxnumber faxfile") it will not work I can see in my httpd file that linux only gets the command 'sendfax' and not the parameters '-n -d .....'.

Can anybody help me?

Thanks in advance

Coert Metz

 Sebastian Konstanty Zdrojewski
IT Analyst

Neticon S.r.l.
Via Valtellina 16 - 20159 Milano - MI - Italy

Phone    (+39)
Website  http://www.neticon.it

PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php

Reply via email to