Comunidad de diseño web y desarrollo en internet online

Problema con gateway.php

Citar            
MensajeEscrito el 22 Abr 2007 04:23 am
Hoy estoy tratando de instalar el amfphp y no me funciona le gateway.php que esta mal

este es el codigo del gateway.php

Código PHP :

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


y me sale este error si me ayudan por favor
Parse error: syntax error, unexpected ':' in /home/redentor/public_html/remoting/gateway.php on line 3

Por Sochmal

53 de clabLevel



 

cuenca

firefox
Citar            
MensajeEscrito el 22 Abr 2007 04:30 pm

Código :

$gateway=new Gateway(): 


Fijate que terminas la linea con dos puntos ":" no con punto y coma ";" como debería ser.

Por Lulu

11 de clabLevel



 

firefox
Citar            
MensajeEscrito el 15 Ago 2008 05:33 pm
hey si alguien lee:

al compilar querysAMFPHP.fla me manda error: :twisted:

Error opening URL "http://localhost:90/remoting/gateway.php"

mi getway:

Código PHP :

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


si alguien sabe por que pasa esto?

Por luzbelmx

2 de clabLevel



Genero:Masculino  

pandemonium-Mx

firefox
Citar            
MensajeEscrito el 18 Ago 2008 09:56 am
Abre directamente el gateway en tu navegador, depende de que versión de amfphp uses, deberías ver un amensaje de que está instalado correctamente.

Jorge

Por solisarg

BOFH

13669 de clabLevel

4 tutoriales
5 articulos

Genero:Masculino   Bastard Operators From Hell Premio_Secretos

Argentina

firefox
Citar            
MensajeEscrito el 18 Ago 2008 07:22 pm

luzbelmx escribió:

hey si alguien lee:

al compilar querysAMFPHP.fla me manda error: :twisted:

Error opening URL "http://localhost:90/remoting/gateway.php"

mi getway:

Código PHP :

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


si alguien sabe por que pasa esto?


Tal vez es demasiado ovbio, pero, ya te aseguraste que tu localhost esté corriendo en el puerto 90; como lo mandas llamar???

Por rolv

Claber

2000 de clabLevel

3 tutoriales

 

firefox
Citar            
MensajeEscrito el 30 Oct 2008 09:00 pm
Utilizo este para no abrir un nuevo hilo.

Estoy empezando con AMFPHP tambien, y me da un error:

Código :

Warning: Cannot modify header information - headers already sent by (output started at /home/rubenkas/public_html/remoting/gateway.php:1) in /home/rubenkas/public_html/remoting/exception/Exceptions.php on line 53
 /1/onStatusnull����code@ description�Cannot modify header information - headers already sent by (output started at /home/rubenkas/public_html/remoting/gateway.php:1)details


Mi gateway.php es:

Código :

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


¿Que puede ser? No hay espacios en blanco ni nada. HELP :( que ya fallo en el principio...

Por SicKo

3 de clabLevel



 

msie7
Citar            
MensajeEscrito el 30 Oct 2008 09:10 pm

Por solisarg

BOFH

13669 de clabLevel

4 tutoriales
5 articulos

Genero:Masculino   Bastard Operators From Hell Premio_Secretos

Argentina

firefox
Citar            
MensajeEscrito el 21 Sep 2010 03:09 am
Boas Noites...

¿Será posible llamar a un php de otro servidor que yo también administro?
Digamos, un swf en midominio1.com llama a un php instalado en midominio2.com
y me pasa todos los datos...¿Es usando un gateway.php? =)

Estuve buscando y nada concreto he hallado =(

Por DiegoVelevu

50 de clabLevel



Genero:Masculino  

Buenos Aires

opera
Citar            
MensajeEscrito el 21 Sep 2010 03:31 am
El php del dominio1 lee los datos del dominio2 porque no hay restricciones de policy, pero eso no tiene que ver con amfphp, abre un post nuevo

Jorge

Por solisarg

BOFH

13669 de clabLevel

4 tutoriales
5 articulos

Genero:Masculino   Bastard Operators From Hell Premio_Secretos

Argentina

firefox

 

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