R: [phpxmlrpc] php paint html

Gaetano Giunta giunta.gaetano at sea-aeroportimilano.it
Fri Dec 10 00:52:04 PST 2004


1) Change display_errors in php.ini so that errors in PHP code do not appera in your html/javascript

if you cannot/are not willing to do that then

2) search for fsockopen in xmlrpc.inc and replace it with @fsockopen

(it's a long standing bug, reported in the sourceforge project pages)

bye
Gaetano

> -----Messaggio originale-----
> Da: phpxmlrpc-bounces at lists.usefulinc.com
> [mailto:phpxmlrpc-bounces at lists.usefulinc.com]Per conto di 
> keroppi kero
> Inviato: giovedì 9 dicembre 2004 20:43
> A: phpxmlrpc at usefulinc.com
> Oggetto: [phpxmlrpc] php paint html
> 
> 
> 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
> 
> _______________________________________________
> phpxmlrpc mailing list
> phpxmlrpc at lists.usefulinc.com
> http://lists.usefulinc.com/cgi-bin/mailman/listinfo/phpxmlrpc



More information about the phpxmlrpc mailing list