[PHP] running commands sequentially in background with exec($commands_in_background)

2006-07-28 Thread Dasdan
I want to execute a couple of linux commands from a php script 'sequentially in background'. I want to run them in background so the php script doesn't hang while the linux commands are running. example: first i create a lock file with php $lockfile_path : /home/web/...blablabla.../test

[PHP] Re: ob_start and ob_get_contents buffering problem

2005-10-07 Thread Dasdan
Thanks a lot Petr !! "Petr Smith" <[EMAIL PROTECTED]> wrote in message news:[EMAIL PROTECTED] > Dasdan wrote: >> question: >> I try to buffer the output of the 'system/views/main.php' into $contents. >> and then do a print. >> Problem

[PHP] ob_start and ob_get_contents buffering problem

2005-10-07 Thread Dasdan
question: I try to buffer the output of the 'system/views/main.php' into $contents. and then do a print. Problem is that the contents of the system/views/main.php are printed 2 times. Someone who can explain me? following the contents of testfile.php and main.php, php.ini settings concerning ob_ ..