On Thu, Apr 24, 2008 at 9:14 AM, J. Manuel Velasco - UBILIBET <[EMAIL PROTECTED]> 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. When you run passthru it is going to play with Apache's rules (big assumption there). I know that I've had scripts in the past have weird issues between what environment variables existed where. It's also going to be running as a different user, maybe that has something to do with it also?