Comunidad de diseño web y desarrollo en internet online

Problema con el gateway

Citar            
MensajeEscrito el 01 May 2005 01:50 pm
Hola amigos he hecho el codigo del gateway del tuto de flash remoting pero el php cuando lo abro me sale esto:

Código :

Warning: Cannot modify header information - headers already sent by (output started at /home/httpd/vhosts/geonimales.com/httpdocs/flashservices/gateway.php:9) in /home/httpd/vhosts/geonimales.com/httpdocs/flashservices/exception/Exceptions.php on line 53
 /1/onStatusnullÿÿÿÿcode@p description+no class named Hola is known to the gatewaydetailsJ/home/httpd/vhosts/geonimales.com/httpdocs/flashservices/app/Executive.phplevel User Errorline@k 


y puse este codigo:

Código :

<?
   include("./app/Gateway.php");
   $gateway = new Gateway();
   $gateway->setBaseClassPath(realpath("services/") . "/");
   $gateway->service();
?>


lo puse en la carpeta flashservices en mi server junto al servicio "Hola" q construi, aparte la peli de falsh no hace nada de nada, este es el codigo as:

Código :

#include "NetServices.as"
#include "NetDebug.as"


var resp:Object = new Object();

resp.enviar_Result = function(data){
   trace("El Server responde: " + data);
};

resp.onStatus = function(data){
   trace("Errr: " + data);
};

NetServices.setDefaultGatewayUrl("http://www.geonimales.com/flashservices/gateway.php");
cnx = NetServices.createGatewayConnection();
serv = cnx.getService("Hola",resp);
serv.Enviar("Probando");

Por axdaleon

25 de clabLevel



 

msie
Citar            
MensajeEscrito el 04 May 2005 04:34 am
checa que no tengas espacios en blanco en tu servicio Hola.php antes y despues de los tags <?PHP ?>.

Saludos

Por tangamampilia

.GAIA Developer

961 de clabLevel


6 articulos

Genero:Masculino   Anime Bloggers

México, D.F.

safari

 

Cristalab BabyBlue v4 + V4 © 2011 Cristalab
Powered by ClabEngines v4, HTML5, love and ponies.