NYCPHP Meetup

NYPHP.org

[nycphp-talk] MySQL/Flash/Apostrophe issue

Kristina Anderson ka at kacomputerconsulting.com
Fri Dec 7 15:21:04 EST 2007


allowScriptAccess is set to "sameDomain" but the name of any script 
calling the database is not immediately apparent from the page code...?

> A swf file cannot directly access the database because it runs on the
> client side (I'll assume you are not using remoting).  The swf
> accesses a php script on the server that outputs something.  There 
are
> two major methods, load vars and xml.
> 
> My guess is that the php script outputs data for flash's load vars.
> In that case the quotes need to be urlencoded not htmlencoded.  Try
> $caption = url_encode($caption)
> 
> Regards,
> John Campbell
> _______________________________________________
> New York PHP Community Talk Mailing List
> http://lists.nyphp.org/mailman/listinfo/talk
> 
> NYPHPCon 2006 Presentations Online
> http://www.nyphpcon.com
> 
> Show Your Participation in New York PHP
> http://www.nyphp.org/show_participation.php
> 
> 

-------------------
Kristina D. H. Anderson
Senior Application Developer/Consultant
"Building a Better Tomorrow, One Line of Code at a Time"
646-247-4987




More information about the talk mailing list