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

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

2009-03-19 Thread haliphax
On Thu, Mar 19, 2009 at 9:25 AM, haliphax wrote: > On Thu, Mar 19, 2009 at 9:19 AM, Kyohere Luke 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

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

2009-03-19 Thread haliphax
On Thu, Mar 19, 2009 at 9:19 AM, Kyohere Luke 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 = "\"C:\path\t

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. http://linux.dbw.org/shellscript_how

Re: [PHP] problems with exec()

2006-11-30 Thread admin
t; Any pointers would be appreciared. > Tia > Ray > > -Original Message- > From: Jan Schröter <[EMAIL PROTECTED]> > To: php-general@lists.php.net > Date: Thu, 30 Nov 2006 09:09:49 +0100 > Subject: Re: [PHP] problems with exec() > >> Think he&#x

Re: [PHP] problems with exec()

2006-11-30 Thread Ray
100 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 value in your php.ini? &

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 exec('/path

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-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