Re: system / exec Question...
| From: | Evan Nemerson | Date: | Tue, 24 Feb 2004 00:16:43 +0000 |
| Subject: | Re: system / exec Question... | ||
| References: | 1 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-178615@lists.php.net to get a copy of this message | ||
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
evan@coeus-group.com
http://coeusgroup.com/en