php paint html

"keroppi kero" <[email protected]> Thu, 09 Dec 2004 19:43:02 +0000
Newsgroups gmane.comp.php.xml-rpc
Message-ID <[email protected]>
I make a php file wich paint javascript.

This php call to webservice but, if I put an erroneus ip for the connection 
then the php paint a error description (can't open socket etc) into html 
tags:

Paint this:
<br />
<b>Warning</b>:  fsockopen() [<a 
href='function.fsockopen'>function.fsockopen</a>]: unable to connect to 
162.57.7.81:80 (No se puede completar de forma inmediata una 
operaci&#55921;&#57316;e desbloqueo de socket.


And this make tha the javascript don't work fine (because html isn't valid 
javascrit code).

What can I do for the php don't show the errors?

Thanks, keroppi.

_________________________________________________________________
Un amor, una aventura, compañía para un viaje. Regístrate gratis en MSN Amor 
& Amistad. http://match.msn.es/match/mt.cfm?pg=channel&tcid=162349