[PHP] Re : a searching problem in lists

2006-05-17 Thread mickb
Oops, sorry for my last mail. Not the good mailing-list :-) -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

[PHP] A searching problem in lists

2006-05-17 Thread mickb
Hello, I'm not a Perl guru so I (still) have problems :-) I use the following date structure, quite "classic" : a list of lists. I have two instances of this structure, let's take a simple example : list 1 : [ [toto,tata],[toto,titi] ] list 2 : [ [toto,tutu],[tata,titi],[toto,titi] ] My question

[PHP] Re: PHP output stream

2006-05-15 Thread mickb
[EMAIL PROTECTED] a �crit : > Thanks for your answer. I already have thought about your solution. The problem > is I have to use the Perl module for PHP. An example : > > $perl = new Perl(); > $perl->require('mct.pl'); > $perl->MCT_polling(); > > where MCT_polling() is a function of my script mct.p

[PHP] Re: PHP output stream

2006-05-15 Thread mickb
Thanks for your answer. I already have thought about your solution. The problem is I have to use the Perl module for PHP. An example : $perl = new Perl(); $perl->require('mct.pl'); $perl->MCT_polling(); where MCT_polling() is a function of my script mct.pl. I would find very strange the fact it's

[PHP] PHP stdout stream

2006-05-15 Thread mickb
Hello, I've a quite simple question : one of my PHP script executes a Perl script which outputs a lot of text. My wish is to redirect PHP stdout stream to NULL, executing the perl script, and after this make the stdout stream back to normal. I've not found a solution in online documentation. Anyon

[PHP] Perl & PHP output format mismatching

2006-05-15 Thread mickb
Hello, I'm currently writing a PHP page, which uses a small Perl script. But I encounter an annoying problem with endline character. A small example : $perl = new Perl(); $perl->eval('print "toto\ntata"'); In this configuration, the HTML page generated sends me : toto tata Of course and you sh