NYCPHP Meetup

NYPHP.org

[nycphp-talk] MySQL/Flash/Apostrophe issue

John Campbell jcampbell1 at gmail.com
Fri Dec 7 14:51:03 EST 2007


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



More information about the talk mailing list