php sendandload only works locally???

Post here your questions about Actionscript and Java server side extensions development.

Moderators: Lapo, Bax

poppop
Posts: 57
Joined: 07 Jul 2007, 10:24

php sendandload only works locally???

Postby poppop » 11 Feb 2008, 13:41

Hi,

I have been running our app on my desktop,

it uses sendandload("ww.site.com/page.php") to get login details

This works fine locally -- when just running it in the flash developer.

When i put the swf into a local host folder, and access it through the url IP -- the app will no longer connect to the ww.site.com/page.php

it jus says connection cannot be made.

I do not understand why a connection can be made through the flash developer software, but not on the local host?

Any help would be great.
User avatar
Lapo
Site Admin
Posts: 21457
Joined: 21 Mar 2005, 09:50
Location: Italy

Postby Lapo » 11 Feb 2008, 14:51

If you don't understand it you have to learn about the Flash Security sandbox.
http://www.adobe.com/resources/security/
Lapo
--
gotoAndPlay()
...addicted to flash games
poppop
Posts: 57
Joined: 07 Jul 2007, 10:24

Postby poppop » 11 Feb 2008, 20:28

Thanks for the link lapo,

it's a 51 page doc, but i had a quick scan.

To get it easier....

Does it basiclly mean that sendandload has to be on the same server as the php page ;) :?: :roll:
with a relative path instead of absolute.


Thanks again for your help mate, its always great :D

Return to “Server Side Extension Development”

Who is online

Users browsing this forum: No registered users and 7 guests