Re: shell_exec problem
| From: | Sebastian Konstanty Zdrojewski | Date: | Fri, 15 Nov 2002 09:04:51 +0000 |
| Subject: | Re: shell_exec problem | ||
| References: | 1 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-124573@lists.php.net to get a copy of this message | ||
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,
En3pY
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) 02.68.80.731 E-Mail s.zdrojewski@neticon.it Website http://www.neticon.it