Reply to Re: command line tool

Your name:

Reply:


Posted by Johny Begood on 06/02/07 09:38

Hi Ivαn,

Thanks for your help, I can get the script to run the program but it seems
to be stuck, hanging,

this is what I've done

$instruct="smssender.exe [[/i] /p:00353857407335 /m:test from code ]";

exec($instruct);

I can see the program running in task manager, Win2003, $instruct is what
would be typed at the command line, any ideas?, what am I missing?

Cheers

"Ivαn Sαnchez Ortega" <ivansanchez-alg@rroba-escomposlinux.-.punto.-.org>
wrote in message news:f3r4k4$mr4$1@hercules.cohp1...
> Johny Begood wrote:
>
> > How do I get php to run a command line tool, in Windows Server 2003, and
> > the continue with the job in hand, is this possible?
>
> First, RTFM:
>
> http://www.php.net/manual/en/function.exec.php#43917
>
> Then, UTFG and STFW:
>
> http://www.google.com/search?q=windows+background+cmd+php
>
>
> --
> ----------------------------------
> Ivαn Sαnchez Ortega -ivansanchez-algarroba-escomposlinux-punto-org-
>
> Una celebridad es una persona que ha pasado toda su vida tratando de
llegar
> a famoso y cuando lo consigue, usa gafas negras para que nadie lo
> reconozca.

[Back to original message]


УдалСнная Ρ€Π°Π±ΠΎΡ‚Π° для программистов  •  Как Π·Π°Ρ€Π°Π±ΠΎΡ‚Π°Ρ‚ΡŒ Π½Π° Google AdSense  •  England, UK  •  ΡΡ‚Π°Ρ‚ΡŒΠΈ Π½Π° английском  •  PHP MySQL CMS Apache Oscommerce  •  Online Business Knowledge Base  •  DVD MP3 AVI MP4 players codecs conversion help
Home  •  Search  •  Site Map  •  Set as Homepage  •  Add to Favourites

Copyright © 2005-2006 Powered by Custom PHP Programming

Π‘Π°ΠΉΡ‚ ΠΈΠ·Π³ΠΎΡ‚ΠΎΠ²Π»Π΅Π½ Π² Π‘Ρ‚ΡƒΠ΄ΠΈΠΈ Π’Π°Π»Π΅Π½Ρ‚ΠΈΠ½Π° ΠŸΠ΅Ρ‚Ρ€ΡƒΡ‡Π΅ΠΊΠ°
ΠΈΠ·Π³ΠΎΡ‚ΠΎΠ²Π»Π΅Π½ΠΈΠ΅ ΠΈ ΠΏΠΎΠ΄Π΄Π΅Ρ€ΠΆΠΊΠ° Π²Π΅Π±-сайтов, Ρ€Π°Π·Ρ€Π°Π±ΠΎΡ‚ΠΊΠ° ΠΏΡ€ΠΎΠ³Ρ€Π°ΠΌΠΌΠ½ΠΎΠ³ΠΎ обСспСчСния, поисковая оптимизация