Ver Mensaje Individual
  #2 (permalink)  
Antiguo 02/08/2012, 03:24
Avatar de Eleazan
Eleazan
 
Fecha de Ingreso: abril-2008
Ubicación: Ibiza
Mensajes: 1.879
Antigüedad: 16 años
Puntos: 326
Respuesta: Recibir http post con xml y responder usando php

¿Cual es el problema? :)


¿Recibes el archivo, o la url?

Es tan facil como
Código PHP:
<?php

$url 
$_POST['url'];

$result tratar_xml($url); //true si el xml es correcto, false si no

$msg[1] = "Proceso realizado correctamente";
$msg[0] = "Porceso fallido";

echo 
'<?xml version="1.0" encoding="utf-8"?>
<response>
<status>Ok</status>
<info>
<message>'
.$msg[$result].'</message>
</info>
</response>'
;
¿algo así buscas?

Un saludo!
__________________
>> Eleazan's Source
>> @Eleazan