all groups > macromedia flash flash remoting > may 2005 >
You're in the

macromedia flash flash remoting

group:

Cannot return a string


Cannot return a string sideburn
5/29/2005 10:05:14 PM
macromedia flash flash remoting:
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?
Cannot return a string - same thing with php and loadvariables sideburn
5/30/2005 3:35:12 AM
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"
[quoted text, click to view]
AddThis Social Bookmark Button