On Sun, 2003-09-21 at 22:00, Ray Hunter wrote:
> On Mon, 2003-09-22 at 19:50, uvm wrote:
> > I'm beggining to develop the theory that things go awry when 
> > using exec from within a webserver-executed PHP script to call 
> > a shell script itself written in PHP. 
> > 
> 
> Why are you trying to call a php script with exec...since it is php why
> not just call it directly instead of creating a process outside of the
> php you are in and then creating a php cgi to do the processing. It is
> easier to call parse the file with the php process that you are
> currently in.

One damn good reason would be namespace conflict.

Cheers,
Rob.
-- 
.------------------------------------------------------------.
| InterJinn Application Framework - http://www.interjinn.com |
:------------------------------------------------------------:
| An application and templating framework for PHP. Boasting  |
| a powerful, scalable system for accessing system services  |
| such as forms, properties, sessions, and caches. InterJinn |
| also provides an extremely flexible architecture for       |
| creating re-usable components quickly and easily.          |
`------------------------------------------------------------'

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

Reply via email to