Hi,

   I keep doing this too with server side scripts.

A tip, you may know or not want to hear, but if you repeat it often enough you eventually remember.

I was told to always set my scripts up to work with $_REQUEST before changing to $_POST or $_GET, then they can be tested using the browser and dummy query strings to make sure the script is working before trying with Flash. This eliminates a lot of heartache and hair tearing for me.

   I hope this helps you too.

   Glen

Andrew Sinning wrote:
So, the problem was completely unrelated to using POST vs GET.

It turns out that a php runtime error will result in Flash reporting "Error opening URL". I expected to see the data returned in the onData string parameter.

Andrew Sinning wrote:
Under Windows XP, running FMX04 in authoring mode.

I've set up my ip-address map in 'c:\system32\drivers\etc\hosts' to direct a domain name to my development server. It's been working just fine for LoadVars in GET mode and also with the XMLObject, but it doesn't appear to work with the LoadVars object in POST mode: I get "Error opening URL...". I've checked, and it's definitely not hitting my production server.

This same server has a local network name. If I use this name instead of the domain name, then POST works just fine!


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



--

Glen Pike
01736 759321
www.glenpike.co.uk <http://www.glenpike.co.uk>
_______________________________________________
Flashcoders mailing list
[email protected]
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders

Reply via email to