Well your setup sounds pretty straightforward so not sure why it isn't
working.  I'm assuming useProxy="false" (or isn't specified) on your
HTTPService.

The port that you access the SWF is the same as the PHP?

http://localhost:1234/myswf.swf
http://localhost:1234/myphp.php

Not much more I can ask I think, I assume you didn't do any funky
compiler settings like -usenetwork...

-----Original Message-----
From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On
Behalf Of lift69boy
Sent: Monday, April 03, 2006 12:48 AM
To: flexcoders@yahoogroups.com
Subject: [flexcoders] Re: Security sandbox violation using PHP, APACHE &
MYSQL

yes to all your questions...I'm calling the php script from my mxml 
both of which are on localhost, & I am running my flex project in the 
web browser. It seems a pretty simple set up (based on Mike Potters 
example....perhaps youve seen it)...flex project running on apache 
localhost, php querying mysql, both on localhost...I know nothing 
about we server architecture so maybe its some config I'm missing 
here...
thanks again Matt
Ben 
--- In flexcoders@yahoogroups.com, "Matt Chotin" <[EMAIL PROTECTED]> wrote:
>
> I guess I misunderstood, are you using HTTPService to hit your 
PHP?  And
> the PHP is on localhost?  Are you accessing the SWF using a web 
browser
> from localhost as well?
> 
> Matt
> 
> -----Original Message-----
> From: flexcoders@yahoogroups.com 
[mailto:[EMAIL PROTECTED] On
> Behalf Of lift69boy
> Sent: Sunday, April 02, 2006 1:08 PM
> To: flexcoders@yahoogroups.com
> Subject: [flexcoders] Re: Security sandbox violation using PHP, 
APACHE &
> MYSQL
> 
> Cheers Matt
> Forgive my ignorance but could you please define "main" 
> & "other"....I've configured my project to run on localhost, my php 
> script runs no probs on localhost, i've gone down the proxy route 
> but still the same error. I've looked through Apache & PHP config & 
> nothing obvious here. I'm certain I'm making a schoolboy error 
> somewhere...
> Really appreciate your help
> Ben
> 
> 
> --- In flexcoders@yahoogroups.com, "Matt Chotin" <mchotin@> wrote:
> >
> > What are you loading?  Looks like the main SWF is on one domain 
> and the
> > other SWF is on another domain?  You might need to do
> > Security.allowDomain work?
> > 
> > -----Original Message-----
> > From: flexcoders@yahoogroups.com 
> [mailto:[EMAIL PROTECTED] On
> > Behalf Of lift69boy
> > Sent: Friday, March 31, 2006 4:56 AM
> > To: flexcoders@yahoogroups.com
> > Subject: [flexcoders] Security sandbox violation using PHP, 
APACHE 
> &
> > MYSQL
> > 
> > hi all....not a new question but still can't find the answer...
> > 
> > i think this is more of a flash security issue but I get the 
> following 
> > error when running my project...
> > Error: code:Client.CouldNotDecode string:'Error #2070: Security 
> sandbox 
> > violation: caller '%s' may not access Stage owned by '%s'.' 
> > detail:'null'
> > architecture is flex<>php<>mysql running on apache.
> > i've tried the crossdomain file in many places but from reading 
> this & 
> > other forums, it is where it should be i.e. on the web server 
root.
> > i've pulled all my hair out & will soon progress to chopping my 
> legs 
> > off in frustration
> > any help greatly appreciated
> > cheers
> > ben 
> > 
> > 
> > 
> > 
> > 
> > --
> > Flexcoders Mailing List
> > FAQ: 
> http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt
> > Search Archives:
> > http://www.mail-archive.com/flexcoders%40yahoogroups.com 
> > Yahoo! Groups Links
> >
> 
> 
> 
> 
> 
> 
> --
> Flexcoders Mailing List
> FAQ: 
http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt
> Search Archives:
> http://www.mail-archive.com/flexcoders%40yahoogroups.com 
> Yahoo! Groups Links
>








--
Flexcoders Mailing List
FAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt
Search Archives:
http://www.mail-archive.com/flexcoders%40yahoogroups.com 
Yahoo! Groups Links



 





--
Flexcoders Mailing List
FAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt
Search Archives: http://www.mail-archive.com/flexcoders%40yahoogroups.com 
Yahoo! Groups Links

<*> To visit your group on the web, go to:
    http://groups.yahoo.com/group/flexcoders/

<*> To unsubscribe from this group, send an email to:
    [EMAIL PROTECTED]

<*> Your use of Yahoo! Groups is subject to:
    http://docs.yahoo.com/info/terms/
 


Reply via email to