Ver Mensaje Individual
  #1 (permalink)  
Antiguo 14/03/2007, 09:16
Avatar de yesik
yesik
 
Fecha de Ingreso: octubre-2004
Ubicación: Orense
Mensajes: 292
Antigüedad: 19 años, 7 meses
Puntos: 1
Recibir Un Archivo Xml Con Php

hola tengo un servicio web q me devuelve un XML pero no lo doy capturado en PHP como tal:
lo estoy intentando asi pero no lo consigo

Código PHP:
<?php 
$ip
=$_SERVER['REMOTE_ADDR']; 

$xml="http://api.hostip.info/get_html.php?ip=".$ip."&position=true";
$html file_get_contents($xml); 
echo(
$html);

?>

pero con esta funcion solo abre ficheros texto....

bueno haber si alguien sabe algo
GRACIAS DE ANTEMANO
__________________
Inmuebles de Galicia:: www.inmueblevirtual.net
Compartir piso Galicia:: www.inmueblevirtual.net/foro