Hi, I've tried what u have given me....but results in fatal error $read can also be represented as this $read[] = &fopen('./logfile.txt') ; heres the error: Can't use function return value in write contex thanks again, coco --- In php-objects@xxxxxxxxxxxxxxx, Laurent Valdes <valderama@xxxx> wrote: > > 2005/12/20, mamontesines <mamontesines@xxxx>: > > Hi, > > > > stream/file is it the same?....the php function list dosen't have any > > programs the clearly use the function maybe you could give me a link > > > > $read = file( './logfile.txt' ) ; > > if( false === stream_select( $read, $write = NULL, $except = NULL, 0 ) ) > > print "no change on file" ; > > else > > print "change on file is present" ; > > > > thanks in advance, > > Coco > > > > use fopen instead of file. > $read should be an array ($read=array(&fopen('./logfile.txt'))), > $write should be an empty array ($write=array()). > So does $except. > And the last parameter should be NULL. > > I think there is no code right now on internet. > > Laurent. > > > -- > «Un peu d'internationalisme éloigne de la patrie; beaucoup y ramène» > Jean Jaurès@<http://www.le-valdo.com> > ------------------------ Yahoo! Groups Sponsor --------------------~--> AIDS in India: A "lurking bomb." Click and help stop AIDS now. http://us.click.yahoo.com/9QUssC/lzNLAA/TtwFAA/saFolB/TM --------------------------------------------------------------------~-> PHP Data object relational mapping generator - http://www.meta-language.net/ Yahoo! Groups Links <*> To visit your group on the web, go to: http://groups.yahoo.com/group/php-objects/ <*> To unsubscribe from this group, send an email to: php-objects-unsubscribe@xxxxxxxxxxxxxxx <*> Your use of Yahoo! Groups is subject to: http://docs.yahoo.com/info/terms/