Re: Re: how to use passthru ()

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On 4/24/08, Eric Butera <eric.butera@xxxxxxxxx> wrote:
> On Thu, Apr 24, 2008 at 9:14 AM, J. Manuel Velasco - UBILIBET
> <tech@xxxxxxxxxxxx> wrote:
> >
> >  No friend,
> >
> >  I said, the perl scripts work fine. The problem is to show the result in
> > the site.
> >
> >  One of them the result is shown and in the other one, not.
> >
> >  What is strange to me is that both scripts are almost the same, only
> > changes the query, in one case is to Eurid and the other case is to Eurid.
> > But I repeat, execute the scripts from command line show the right result in
> > both cases.
> >
> >  So I was asking if I was doing something wrong that i couldn't see in my
> > passthru() function use.
> >
> >  Please, read, think and them if you can say something to help, do it. In
> > this case you just make grow your EGO.
> >
> >  M. Sokolewicz escribió:
> > J. Manuel Velasco - UBILIBET wrote:
> >
> > Hello,
> >
> >  I have two perl scripts that runs fine in the shell. But when I build a
> > page with them, only in one case the results are shown in the other case i
> > see a blank page.
> >
> >  I have done different test and I don't understand this issue. I don't know
> > what i am doing wrong.
> >
> >  Follows the link to the code:
> >  EURID script: http://pastebin.com/m3d6cbffe
> >  ESNIC script: http://pastebin.com/m40755f40
> >  PAGINA: http://pastebin.com/m5f8e1043
> >
> >  Thanks in advance to help me with this.
> >
> >
> >  So you're basically asking for help with your perl scripts on a PHP-only
> > mailinglist?! Well... flame away...
> >
> >  - Tul
> >
> >
> >
> > --
> >
>
> Could be something to do with your ENV setup.

>It's also going to be running as
> a different user, maybe that has something to do with it also?

Maybe add the second parameter to the passthru call to catch the
return status of the call to the perl script. If it fails because it
is running as 'nobody',  you should have some feedback in there.

David

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



[Index of Archives]     [PHP Home]     [Apache Users]     [PHP on Windows]     [Kernel Newbies]     [PHP Install]     [PHP Classes]     [Pear]     [Postgresql]     [Postgresql PHP]     [PHP on Windows]     [PHP Database Programming]     [PHP SOAP]

  Powered by Linux