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

macromedia flash flash remoting

group:

Cant run php scripts on localhost via html


Cant run php scripts on localhost via html balister
11/23/2005 12:54:51 PM
macromedia flash flash remoting:
I recntly loaded flash 8 onto my pc and discovered shortly after that swfs
cannot receive data from php scripts when they are placed in html pages. I am
using xampp, a php, mysql, apache server on windows 2000 to act as localhost.
Before installing flash 8 there were no problems, now it is a nightmare. I can
only receive data from the scripts when I run the swfs inside flash or as exe
files. Also html pages can communicate with localhost scripts no trouble. Its
just flash and html together.:|
Re: Cant run php scripts on localhost via html with flash 8 trsymons
12/7/2005 5:25:58 PM
Not sure if this will help but have you looked at the Security settings that
you publish the Flash 8 movie with?

Flash 8 has a lot more security settings to deal with when publishing content.
In the authoring environment everything is trusted, which it why it works for
you then.

Tim
Re: Cant run php scripts on localhost via html with flash 8 Vertine
1/1/2006 7:40:20 PM
i am having a similar problem. my movie communicates fine with a PHP script on
my host if i run the movie directly from a test movie. However, after
publishing, uploading, and then running the same movie from the host itself, i
can not get the movie to communicate properly with the script. Any specific
security settings i should be looking for?
Re: Cant run php scripts on localhost via html with flash 8 otnateos
1/3/2006 1:26:56 PM
Originally posted by: trsymons
Not sure if this will help but have you looked at the Security settings that
you publish the Flash 8 movie with?

Flash 8 has a lot more security settings to deal with when publishing content.
In the authoring environment everything is trusted, which it why it works for
you then.

Tim

you can either check the security settings as suggested by Tim, or check with
the security policy file that you need to use to enable flash to access script
on websites. here's the link to the policy file

http://www.macromedia.com/cfusion/knowledgebase/index.cfm?id=tn_14213


AddThis Social Bookmark Button