Re: weird passthru() behavior

From: Date: Tue, 15 May 2001 01:59:19 +0000
Subject: Re: weird passthru() behavior
References: 1  Groups: php.dev 
Request: Send a blank email to php-dev+get-55278@lists.php.net to get a copy of this message
I know that passthru only outputs what was sent to stdout and nothing else. So, if XalanTransform is sending output to something other than stdout then that might be it. That is just my experience with passthru. Brian Moon ---------------------------------------------------------------------- dealnews.com, Inc. Makers of dealnews, dealmac http://dealnews.com/ | http://dealmac.com/ ----- Original Message ----- From: "Michael Dickson" <midickso@indiana.edu> To: <php-dev@lists.php.net> Sent: Monday, May 14, 2001 7:39 PM Subject: [PHP-DEV] weird passthru() behavior > I have a php script that looks like this: > > <?php > passthru("sabcmd foo.xml foo.xsl"); > ?> > > It works fine. But when I instead try: > > <?php > passthru("XalanTransform foo.xml foo.xsl"); > ?> > > I get no output (no errors either, just nothing---if I add some html code > around the php script then this html code comes out, but still nothing from > the passthru().) > > Some relevant facts: > > 1. When run from the command line, "sabcmd foo.xml foo.xsl" and > "XalanTransform foo.xml foo.xsl" return exactly the same thing to the > terminal. > > 2. sabcmd and XalanTransform are both C programs, and they both reside in > /usr/bin. > > > Any hints about what is going on here would be greatly appreciated! > > > P.S. In case you're wondering, sabcmd and Xalantransform are XSLT engines. > They translate foo.xml according to the rules in foo.xsl and send the result > to the terminal. > > > -- > PHP Development Mailing List <http://www.php.net/> > To unsubscribe, e-mail: php-dev-unsubscribe@lists.php.net > For additional commands, e-mail: php-dev-help@lists.php.net > To contact the list administrators, e-mail: php-list-admin@lists.php.net > > >

« previous php.dev (#55278) next »