Welcome Guest, Not a member yet? Register   Sign In
When opening webservice xml detect errors
#1

Hello,

Is it possible to detect errors or response time when opening XML?


PHP Code:
$z = new XMLReader;

$z->open('http://www.domain.com/webservicexml'); //If response time is longer than 5 seconds, it redirects to another page.

$doc = new DOMDocument


Thank you so much.
Reply


Messages In This Thread
When opening webservice xml detect errors - by edica - 01-27-2017, 06:54 AM



Theme © iAndrew 2016 - Forum software by © MyBB