Pass options via $_SERVER instead of function arguments