[phpxmlrpc-devel] Is it better to catch fsockopen timeout errors?
Brought to you by:
ggiunta
From: Gaetano G. <giu...@se...> - 2003-05-26 11:03:50
|
Since we're providing error codes in the xmlrpc response, it might be a = good idea to catch the error messages generated by timeout on socket = connections. (i.e. replace fsockopen with @fsockopen in xmlrpc.inc) This applies e.g. on a website that has display turned on for all php = errors, and does only check the result of $msg->send() for any problem: = the error will be handled correctly, but on the webpage will be = displayed the fsockopen error messages anyway. Ciao, Gaetano |