Home | Contact Us | FAQ | Search & Site Map | Link to Us
Sign In | Join | Other 45 Sites in Network
Home
Discussion GroupsGeneralPHPASPPerlColdFusionFlashHTML, CSS, ScriptsBrowsers

Webmaster Forum / Flash / Flash Remoting / May 2005



Tip: Looking for answers? Try searching our database.

Cannot return a string

Thread view: 
Enable EMail Alerts  Start New Thread
Thread rating: 
sideburn - 30 May 2005 06:05 GMT
I am having a strange problem with my simple flash examples. They cannot
echo a string. It has something to do with my server because if I put them
on another server they work.

If i try Examples.fla that is part of the amfphp sources in examples/basic
or any other example such as talk.fla

everything else works exept for strings:

for example i have an example called EchoTest.

serv.echoString("this is a test"); //this will not return anything to the
console.

serv.echoString(12345); //this WILL return 12345 to the console.

I tried this simple example
http://www.sephiroth.it/tutorials/flashPHP/amfphp_installation/index.php

And this one
http://www.actionscript.org/tutorials/intermediate/PHP_Remoting/index.shtml

And the examples that come with the amfphp source files

If I comment out the parts that send a string everything else works fine.

Any ideas why?
sideburn - 30 May 2005 11:35 GMT
Also same results with loadvariables

I've got an apache server running with php and mysql.

But php is not taking my strings passed in from my flash movie.

When I do this:

loadVariablesNum("http://192.168.1.100/Register.php?RegName="+RegName, 0);

A new entry gets added into my sql database but the name field is blank.

So everything is talking to the database but all the strings being passed
are blank. Its also doing this with flash remoting. Its got something to do
with my server. Any help would be appreciated.

Thanks

On 5/29/05 10:05 PM, in article BEBFED1A.16359%xxx@yyy.zzz, "sideburn"
<xxx@yyy.zzz> wrote:

> I am having a strange problem with my simple flash examples. They cannot
> echo a string. It has something to do with my server because if I put them
[quoted text clipped - 23 lines]
>
> Any ideas why?
 
Sign In
Join
My Latest Posts
My Monitored Threads
My Blog
My Photo Gallery
My Profile
My Homepage

Start New Thread
Enable EMail Alerts
Rate this Thread



©2009 Advenet LLC   Privacy Policy - Terms of Use
This website includes both content owned or controlled by Advenet as well as content owned or controlled by third parties.