I think it's a wrong .htaccess :)

-----Oorspronkelijk bericht-----
Van: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] Namens Cor
Verzonden: zondag 27 april 2008 8:42
Aan: 'Flash Coders List'
Onderwerp: RE: [Flashcoders] amfphp 1.9 issue

Your gateway isn't there ?

-----Oorspronkelijk bericht-----
Van: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] Namens chas warn
Verzonden: zaterdag 26 april 2008 22:24
Aan: [email protected]
Onderwerp: [Flashcoders] amfphp 1.9 issue

Hello ... I'd appreciate any help on this issue.....Carlos

1. I can get amfphp1.9 working local but not on my remote webserver. (I'm
using the HelloWorld sample) 2. have no problems with amfphp 1.2 on remote
server 3. I'm using flash 8 with php 5.2.
4. copied over amfphp directory less the fla files in the samples directory.

4. Maybe there is something in the gateway.php that needs modification.
(???)




*** Below is located in www\amfphp\services directory.

<?php
class HelloWorld
{
    function sayHello()
    {
        return "Hello World!";
    }
}
?>



*****  Below is my fla file located in root directory

var gatewayUrl:String = "http://carlosinla.com/amfphp/gateway.php";;
import mx.remoting.*;
import mx.rpc.*;
import mx.remoting.debug.NetDebug;

NetDebug.initialize();
var oPosts:Object;

var _service:Service = new Service(gatewayUrl, null, "HelloWorld", null,
null); var pc:PendingCall = _service.sayHello();

pc.responder = new RelayResponder(this, "handleResult", "handleError");

function handleResult(re:ResultEvent) {
    oPosts = re.result;
trace (oPosts.length);
test_txt.text=oPosts.length; //initial text changes to '12'   locally - but
no change on web server.
}


*****  Below is cross-domain  file in root directory <?xml version="1.0"?>
<!DOCTYPE cross-domain-policy
  SYSTEM "http://www.macromedia.com/xml/dtds/cross-domain-policy.dtd";>
<cross-domain-policy>
  <allow-access-from domain="www.carlosinla.com" />
  <allow-access-from domain="carlosinla.com" /> </cross-domain-policy>
_______________________________________________
Flashcoders mailing list
[email protected]
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders


--
No virus found in this incoming message.
Checked by AVG. 
Version: 7.5.524 / Virus Database: 269.23.5/1399 - Release Date: 26-4-2008
14:17

No virus found in this incoming message.
Checked by AVG. 
Version: 7.5.524 / Virus Database: 269.23.5/1399 - Release Date: 26-4-2008
14:17
 

No virus found in this outgoing message.
Checked by AVG. 
Version: 7.5.524 / Virus Database: 269.23.5/1399 - Release Date: 26-4-2008
14:17
 

_______________________________________________
Flashcoders mailing list
[email protected]
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders

_______________________________________________
Flashcoders mailing list
[email protected]
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders

Reply via email to