Re: [PHP] Problems with exec() on windows

2009-04-12 Thread henrikolsen
I can confirm the presence of the same issue on my installation, 5.2.9-2 on Windows XP. Very annoying bug. -- This message was sent on behalf of henrikol...@gmail.com at openSubscriber.com http://www.opensubscriber.com/message/php-general@lists.php.net/11719414.html -- PHP General Mailing List

[PHP] Problems with exec() on windows

2009-03-19 Thread Kyohere Luke
Hi, I'm trying to use exec to call gammu.exe and send sms on windows XP. This works from commandline: C:\path\to\gammu.exe 1 --sendsms EMS 200 -text test1 test2 But if I run it through php like this: $command = \C:\path\to\gammu.exe\ --sendsms EMS 200 -text \test1 test2\.; @exec($command,

Re: [PHP] Problems with exec() on windows

2009-03-19 Thread haliphax
On Thu, Mar 19, 2009 at 9:19 AM, Kyohere Luke pr0...@gmail.com wrote: Hi, I'm trying to use exec to call gammu.exe and send sms on windows XP. This works from commandline: C:\path\to\gammu.exe 1 --sendsms EMS 200 -text test1 test2 But if I run it through php like this: $command =

Re: [PHP] Problems with exec() on windows

2009-03-19 Thread haliphax
On Thu, Mar 19, 2009 at 9:25 AM, haliphax halip...@gmail.com wrote: On Thu, Mar 19, 2009 at 9:19 AM, Kyohere Luke pr0...@gmail.com wrote: Hi, I'm trying to use exec to call gammu.exe and send sms on windows XP. This works from commandline: C:\path\to\gammu.exe 1 --sendsms EMS 200 -text

Re: [PHP] problems with exec() SOLVED

2006-12-01 Thread Ray
Thanks for the help. :) I posted to the freeBSD list and was given the answer there. in case anyone is interested and for the sake of the archive, I needed a path specified in the shell script. The following URL provides the necessary info for fixing the script.

Re: [PHP] problems with exec()

2006-11-30 Thread Juanjo Pascual
What is the safe_mode value in your php.ini? To run exec the value of your safe_mode has to be OFF. [EMAIL PROTECTED] escribió: Try exec('/path/to/copy', $return); print_r($return); read the manual : http://nl3.php.net/manual/en/function.exec.php Description string exec ( string command [,

Re: [PHP] problems with exec()

2006-11-30 Thread Jan Schröter
Think he's not getting an general error - just didn't read the manual concerning the return value of exec. kind regards jan Juanjo Pascual wrote: What is the safe_mode value in your php.ini? To run exec the value of your safe_mode has to be OFF. [EMAIL PROTECTED] escribió: Try

Re: [PHP] problems with exec()

2006-11-30 Thread Ray
] problems with exec() Think he's not getting an general error - just didn't read the manual concerning the return value of exec. kind regards jan Juanjo Pascual wrote: What is the safe_mode value in your php.ini? To run exec the value of your safe_mode has to be OFF. [EMAIL

Re: [PHP] problems with exec()

2006-11-30 Thread admin
PROTECTED] To: php-general@lists.php.net Date: Thu, 30 Nov 2006 09:09:49 +0100 Subject: Re: [PHP] problems with exec() Think he's not getting an general error - just didn't read the manual concerning the return value of exec. kind regards jan Juanjo Pascual wrote: What is the safe_mode

[PHP] problems with exec()

2006-11-29 Thread Ray
hello; I am trying to write a script to do some auto configuration of my webserver. Part of the process involves copying some configuration files from other places on the server to a working directory where they can be modified. I am running freeBSD 6.0, Apache 2.2.3, php 5.1.5 I can't seem to get

Re: [PHP] problems with exec()

2006-11-29 Thread admin
Try exec('/path/to/copy', $return); print_r($return); read the manual : http://nl3.php.net/manual/en/function.exec.php Description string exec ( string command [, array output [, int return_var]] ) gr, Thijs On Wed, 29 Nov 2006 23:22:13 -0700, Ray [EMAIL PROTECTED] wrote: hello; I am trying

[PHP] Problems with exec

2004-02-03 Thread Jason Freeman
Hi there I'm having a bit of trouble with executing system commands. My script reads as follows. ? exec(smbclient -L \\xxx.xxx.xxx.xxx -N, $output); print_r($output); ? The problem is that when I run this script the page does not load and apache crashes. Does anyone know a way around this

[PHP] problems with 'exec' in 4.3

2003-02-08 Thread Gav
I'm having problems with the exec command since upgrading to 4.3. Code that previously worked now doesn't. I'm using IIS5 and have checked in the php.ini file to make sure that safe mode is off. Is there anything else that I should check? Thanks in advance. -- PHP General Mailing List

[PHP] Problems with exec and sendfax

2001-09-02 Thread Otto Brandstätter
Hallo ! i have some problems when trying to use senfax from halyfax within php. i am using php4 on a redhat 6.2 box with the recent version of hylafax and apache. well, i am using the following code: $fd = fopen($tmpPath . $delivery_number, w); set_file_buffer($fd, 0); $size = fwrite($fd,

[PHP] Problems with exec

2001-08-09 Thread Arne
hi, i have some problems with exec. i am using win2000, apache and latest php version. always 'unable to fork' . what´s the problem? thanks for help, arne -- PHP General Mailing List (http://www.php.net/) To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL