[PHP] system / exec Question...

2004-02-23 Thread Gary Sanders
Title: Message



Hello... I'm using 
with PHP with Windows XP. I just set it up today and terribly new to PHP 
(1st day). Anyway, I'm having a problem calling an .exe file with system 
and exec. I can call lots of other programs, but not this one. Can 
you tell me what's the best way to debug a problem like this - or how I enable 
the debugging options?

Thanks,
Gary

-- Give someone a fish, and he 
eats for a day. Give him a fishing rod and he goes hungry until you give 
him the dam fish so he has somebait. 
;-)
Gary Sanders Sr. Engineer - 
replaytvDigital Networks North America 2600 San Tomas Expwy.Santa Clara, 
CA 95051-0953408-565-7103

-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP] system / exec Question...

2004-02-23 Thread Evan Nemerson
On Monday 23 February 2004 03:48 pm, Gary Sanders wrote:
 Hello... I'm using with PHP with Windows XP.  I just set it up today and
 terribly new to PHP (1st day).  Anyway, I'm having a problem calling an
 .exe file with system and exec.  I can call lots of other programs, but not
 this one.  Can you tell me what's the best way to debug a problem like this
 - or how I enable the debugging options?

At the beginning of your script, use this line:

error_reporting(E_ALL);

Remember to change E_ALL to 0 in production environments, though!

 Thanks,
 Gary

 --  Give someone a fish, and he eats for a day.  Give him a fishing rod and
 he goes hungry until you give him the dam fish so he has some bait.  ;-)

Give a man fire, and he'll be warm for a day; set a man on fire, and he'll be 
warm for the rest of his life.

 Gary Sanders
 Sr. Engineer - replaytv
 Digital Networks North America
 2600 San Tomas Expwy.
 Santa Clara, CA 95051-0953
 408-565-7103

-- 
Evan Nemerson
[EMAIL PROTECTED]
http://coeusgroup.com/en

-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php