Let's say I need to call a webservice several times in the same php function, to avoid my page hanging out if webservice fails for some reason, is it enough to set_time_limit in php ? What's the best practices ?
Also I just read set_time_limit doesn't work when in safe_mode then what should I use ?