Re: [flexcoders] Re: Security sandbox violation using PHP, APACHE MYSQL

2006-04-06 Thread Oriol Gual



Hi Ben, This is quite strange, can you acces your db through php without calling it from Flex? Oriol.






--
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



  Visit your group "flexcoders" on the web.
  To unsubscribe from this group, send an email to:[EMAIL PROTECTED]
  Your use of Yahoo! Groups is subject to the Yahoo! Terms of Service.



  









[flexcoders] Re: Security sandbox violation using PHP, APACHE MYSQL

2006-04-05 Thread lift69boy
Matt...we are definitely getting close !
I added entry mysql.default_port = 80 into my PHP config  run flex 
project  guess what, no flash error (but no data !). I run PHP 
query  it doesnt connect to db. I try http://127.0.0.1:80/mysql in 
the browser  no joy. 
I'm beginning to feel a twinge of excitement over here !!
cheers
Ben

--- In flexcoders@yahoogroups.com, Matt Chotin [EMAIL PROTECTED] wrote:

 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 
 exampleperhaps 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 mchotin@ 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 
   otherI'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 allnot 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 flexphpmysql 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/
 




Re: [flexcoders] Re: Security sandbox violation using PHP, APACHE MYSQL

2006-04-05 Thread Oriol Gual



Why have you set the mysql default port to 80? 80 is the port for web servers usually and I wouldn't recommend to have mysql at it. The mysql default port is 3306.Another question, have you tried to access your php script without Flex? Just to make sure it's working properly.
Oriol.






--
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



  Visit your group "flexcoders" on the web.
  To unsubscribe from this group, send an email to:[EMAIL PROTECTED]
  Your use of Yahoo! Groups is subject to the Yahoo! Terms of Service.



  









[flexcoders] Re: Security sandbox violation using PHP, APACHE MYSQL

2006-04-05 Thread lift69boy
Matt...we are definitely getting close !
I added entry mysql.default_port = 80 into my PHP config  run flex 
project  guess what, no flash error (but no data !). I run PHP 
query  it doesnt connect to db. I try http://127.0.0.1:80/mysql in 
the browser  no joy. 
I'm beginning to feel a twinge of excitement over here !!
cheers
Ben

--- In flexcoders@yahoogroups.com, Matt Chotin [EMAIL PROTECTED] wrote:

 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 
 exampleperhaps 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 mchotin@ 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 
   otherI'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 allnot 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 flexphpmysql 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/
 




[flexcoders] Re: Security sandbox violation using PHP, APACHE MYSQL

2006-04-05 Thread lift69boy
Hi Oriol
I've reset to 3306. I've run my php script in the browser  it works 
fine. If I call a simple (no db read) php script from flex, no error 
is returned which indicates that the security is fine between flash  
the php, both localhost:80/. This only leaves security issues in 
accessing my mysql db, but i've no idea what I need to change to allow 
access. For example, do I need a crossdomain file sitting somewhere in 
my db file structure ?
Many thanks for your help
Cheers
Ben 

--- In flexcoders@yahoogroups.com, Oriol Gual [EMAIL PROTECTED] wrote:

 Why have you set the mysql default port to 80?  80 is the port for 
web
 servers usually and I wouldn't recommend to have mysql at it. The 
mysql
 default port is 3306.
 
 Another question, have you tried to access your php script without 
Flex?
 Just to make sure it's working properly.
 
 Oriol.








--
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/
 




[flexcoders] Re: Security sandbox violation using PHP, APACHE MYSQL

2006-04-03 Thread lift69boy
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 
exampleperhaps 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 
  otherI'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 allnot 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 flexphpmysql 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

* 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/
 





RE: [flexcoders] Re: Security sandbox violation using PHP, APACHE MYSQL

2006-04-03 Thread Matt Chotin
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 
exampleperhaps 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 
  otherI'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 allnot 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 flexphpmysql 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/
 




[flexcoders] Re: Security sandbox violation using PHP, APACHE MYSQL

2006-04-02 Thread lift69boy
Cheers Matt
Forgive my ignorance but could you please define main 
 otherI'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 [EMAIL PROTECTED] 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 allnot 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 flexphpmysql 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

* 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/
 




RE: [flexcoders] Re: Security sandbox violation using PHP, APACHE MYSQL

2006-04-02 Thread Matt Chotin
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 
 otherI'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 [EMAIL PROTECTED] 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 allnot 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 flexphpmysql 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

* 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/
 




[flexcoders] Re: Security sandbox violation using PHP, APACHE MYSQL

2006-03-31 Thread Renaun Erickson
Can you create some sample code we can see?  Flex2 has a Publish
Application Source feature.

--- In flexcoders@yahoogroups.com, lift69boy [EMAIL PROTECTED] wrote:

 hi allnot 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 flexphpmysql 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

* 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/