Are you *running* a shared hosting environment? If so, what is to stop
you from adding the exec() function to the list in php.ini?

- Craige

> > Don't think so. The code just needs to handle it better. I do it like
> > this:
> >
> > $disabled_functions = explode(',', str_replace(' ', '',
> > ini_get('disable_functions')));
> >
> > if (!in_array('set_time_limit', $disabled_functions)) {
> >     set_time_limit(0);
> > }
> >
> > Works every time :)
> >
>
> --
> PHP General Mailing List (http://www.php.net/)
> To unsubscribe, visit: http://www.php.net/unsub.php
>
>

-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php

Reply via email to