diff --git a/reference/outcontrol/functions/ob-start.xml b/reference/outcontrol/functions/ob-start.xml index 7a16b40f8d..c21dde467c 100644 --- a/reference/outcontrol/functions/ob-start.xml +++ b/reference/outcontrol/functions/ob-start.xml @@ -1,5 +1,5 @@ - + @@ -59,6 +59,14 @@ output_callback can not be executed. + + + Some web servers (e.g. Apache) change the working directory of a script + when calling the callback function. You can change it back by e.g. + chdir(dirname($_SERVER['PHP_SELF'])) in the callback + function. + + If the optional parameter chunk_size is passed, the callback function is called on every first newline after