Kyohere Luke wrote:
> You might have something there - never really thought about how windows
> forms the 8.3 names... & not many resources online about it ...
>
> The actual path is "c:\Program File\Gammu 1.23.91\bin\gammu.exe"
> I'd used "c:\Progra~1\Gammu~1\bin\gammu.exe"
You take the first 6
...
-Original Message-
From: l...@beyonic.com [mailto:l...@beyonic.com]on Behalf Of Kyohere
Luke
Sent: Thursday, March 19, 2009 11:48 PM
To: Shawn McKenzie
Cc: php-general@lists.php.net
Subject: Re: [PHP] Re: Problems with exec() on windows
You might have something there - never real
I've skimmed some of thread, but I have not been following closely so please
disregard if I'm just rambling. However, I've worked with lots of software
on DOS boxen that couldn't handle long file names. If they also choke on
the tildes then I usually just write a batch file that calls the full pa
On Fri, Mar 20, 2009 at 1:47 AM, Kyohere Luke wrote:
> You might have something there - never really thought about how windows
> forms the 8.3 names... & not many resources online about it ...
>
> The actual path is "c:\Program File\Gammu 1.23.91\bin\gammu.exe"
> I'd used "c:\Progra~1\Gammu~1\bin\
r with '' ie double/single
> quotes...
> >>
> >>
> >>
> >> -Original Message-
> >> From: Kyohere Luke [mailto:l...@beyonic.com]
> >> Sent: Thursday, March 19, 2009 10:18 AM
> >> To: Bastien Koert
> >> Cc: Shaw
"Kyohere Luke" wrote in message
news:9bc423c50903191018k3c783213l4929cf2878e98...@mail.gmail.com...
> Eventually settled for getting rid of the spaces in the path. That worked.
> Thanks.
> Luke
>
> On Thu, Mar 19, 2009 at 8:06 PM, Bastien Koert wrote:
>
>>
>>
>> On Thu, Mar 19, 2009 at 12:48 PM
gt; if you're going to deal with file/pathnames in windows/linux.. you're going
>> to have to encapsulate them with "" or with '' ie double/single quotes...
>>
>>
>>
>> -Original Message-
>> From: Kyohere Luke [mailto:l...
single quotes...
>
>
>
> -Original Message-
> From: Kyohere Luke [mailto:l...@beyonic.com]
> Sent: Thursday, March 19, 2009 10:18 AM
> To: Bastien Koert
> Cc: Shawn McKenzie; php-general@lists.php.net
> Subject: Re: [PHP] Re: Problems with exec() on windows
>
&g
single quotes...
>
>
>
> -Original Message-
> From: Kyohere Luke [mailto:l...@beyonic.com]
> Sent: Thursday, March 19, 2009 10:18 AM
> To: Bastien Koert
> Cc: Shawn McKenzie; php-general@lists.php.net
> Subject: Re: [PHP] Re: Problems with exec() on windows
>
&g
10:18 AM
To: Bastien Koert
Cc: Shawn McKenzie; php-general@lists.php.net
Subject: Re: [PHP] Re: Problems with exec() on windows
Eventually settled for getting rid of the spaces in the path. That worked.
Thanks.
Luke
On Thu, Mar 19, 2009 at 8:06 PM, Bastien Koert wrote:
>
>
> On Thu, Mar 19
Eventually settled for getting rid of the spaces in the path. That worked.
Thanks.
Luke
On Thu, Mar 19, 2009 at 8:06 PM, Bastien Koert wrote:
>
>
> On Thu, Mar 19, 2009 at 12:48 PM, Kyohere Luke wrote:
>
>> Thanks, but I tried this. Doesn't work because the path\to\gammu.exe has
>> spaces in it
Kyohere Luke wrote:
> Thanks, but I tried this. Doesn't work because the path\to\gammu.exe has
> spaces in it
> Haliphax, thanks for your comments. I tried escapeshellarg() to no end.
>
> I'm exploring your reply regarding proc_open, but how exactly does proc_open
> separate the arguments from
Eventually settled for getting rid of the spaces in the path. That worked.
Thanks.
Luke
On Thu, Mar 19, 2009 at 8:06 PM, Bastien Koert wrote:
>
>
> On Thu, Mar 19, 2009 at 12:48 PM, Kyohere Luke wrote:
>
>> Thanks, but I tried this. Doesn't work because the path\to\gammu.exe has
>> spaces in it
On Thu, Mar 19, 2009 at 12:48 PM, Kyohere Luke wrote:
> Thanks, but I tried this. Doesn't work because the path\to\gammu.exe has
> spaces in it
> Haliphax, thanks for your comments. I tried escapeshellarg() to no end.
>
> I'm exploring your reply regarding proc_open, but how exactly does
> pr
Thanks, but I tried this. Doesn't work because the path\to\gammu.exe has
spaces in it
Haliphax, thanks for your comments. I tried escapeshellarg() to no end.
I'm exploring your reply regarding proc_open, but how exactly does proc_open
separate the arguments from the command?
Unless i'm mistak
Thanks, but I tried this. Doesn't work because the path\to\gammu.exe has
spaces in it
Haliphax, thanks for your comments. I tried escapeshellarg() to no end.
I'm exploring your reply regarding proc_open, but how exactly does proc_open
separate the arguments from the command?
Unless i'm mistak
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\to\gammu.exe\" --sendsms EMS 20
My first guess would be that sendfax wants it to have .txt on the end of
it...
--
WARNING [EMAIL PROTECTED] address is an endangered species -- Use
[EMAIL PROTECTED]
Wanna help me out? Like Music? Buy a CD: http://l-i-e.com/artists.htm
Volunteer a little time: http://chatmusic.com/volunteer.htm
t;[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Sunday, August 12, 2001 4:52 PM
Subject: [PHP] Re: Problems with exec
> > i have some problems with "exec". i am using win2000, apache and latest
> php
> > version. always 'unable to fork' . what´s the p
> i have some problems with "exec". i am using win2000, apache and latest
php
> version. always 'unable to fork' . what´s the problem?
As I understand it:
Windows is not thread-safe.
As an implication, exec-ing something would just crash anyway.
Thus, exec() and friends won't work on Windows i
20 matches
Mail list logo