Page 1 of 1

keep php script open to accect changing variables?

Posted: Fri Mar 17, 2006 7:24 pm
by gabriak
i'm trying to write a frontend to mplayer using php.
i have a perl script that listens to mplayer for things like progress and track name.
it outputs the variables to a file such as mplayer_vars.php

I'd like to be able to have real time progress on the page without reloading every couple seconds in an iframe.
is there a way to have php output the webpage, but still stay open to call javascript functions, and refresh the variables?

Posted: Fri Mar 17, 2006 7:41 pm
by feyd
ajax.