From xmlrpc at hotmail.com Sun Dec 5 02:47:15 2004 From: xmlrpc at hotmail.com (keroppi kero) Date: Sun Dec 5 02:48:03 2004 Subject: [phpxmlrpc] Capture IP Message-ID: I want to know, from server, what IP have done the request. How can I caught this information from my code? Other thing I'd like to know is: Can I make requests with autentication info? Or the unic form to do it is putting the user and password into the params for the method? Thanks, keroppi _________________________________________________________________ M?viles, DVD, c?maras digitales, coleccionismo... Con unas ofertas que ni te imaginas. http://www.msn.es/Subastas/ From xmlrpc at hotmail.com Thu Dec 9 11:43:02 2004 From: xmlrpc at hotmail.com (keroppi kero) Date: Thu Dec 9 11:45:14 2004 Subject: [phpxmlrpc] php paint html Message-ID: 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:
Warning: fsockopen() [function.fsockopen]: unable to connect to 162.57.7.81:80 (No se puede completar de forma inmediata una operaci��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 From giunta.gaetano at sea-aeroportimilano.it Fri Dec 10 00:52:04 2004 From: giunta.gaetano at sea-aeroportimilano.it (Gaetano Giunta) Date: Fri Dec 10 00:53:01 2004 Subject: R: [phpxmlrpc] php paint html In-Reply-To: Message-ID: <000301c4de95$a4e5bf30$9701010a@seadomain.seaaeroportimilano.it> 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@lists.usefulinc.com > [mailto:phpxmlrpc-bounces@lists.usefulinc.com]Per conto di > keroppi kero > Inviato: gioved? 9 dicembre 2004 20:43 > A: phpxmlrpc@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: >
> Warning: fsockopen() [ href='function.fsockopen'>function.fsockopen]: unable to > connect to > 162.57.7.81:80 (No se puede completar de forma inmediata una > operaci��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@lists.usefulinc.com > http://lists.usefulinc.com/cgi-bin/mailman/listinfo/phpxmlrpc