How to use WP functionality with a Flashplugin?
-
Hi,
Can please, please somebody enlight me how to use the combination of Flash and php with the possibility of using WordPress functionality??
I have written my own plugin, that uses two tables in the wpdb-schema. A small flash movie needs to retrieve a line of text from one of those tables and write some data in the other table. I have written a php-script that communicates perfectly with the db, using wpdb functionality, writing the data, and retrieving the text I want. In the Flash object I made an URLrequest, calling that php-file with some postvariables. It works great when I let the php-file return some hardcoded string, but wpdb functionality doesn’t seem to be used. I debugged the php-file adding a include(“wp-config.php”) line at the top. That works for the php-file only, but some “deprecated” messages are echoed first, before the line of text appears, so this doesn’t work in combination with Flash. Does anybody has enough knowledge to fill me in, or help me do the right thing?
thanks,
Peter
The topic ‘How to use WP functionality with a Flashplugin?’ is closed to new replies.