Welcome to WebmasterWorld Guest from

Forum Moderators: open

Message Too Old, No Replies

Flash integration with server side scripting (PHP)

How feasible is it?

11:30 pm on Apr 29, 2005 (gmt 0)

Junior Member

10+ Year Member

joined:Feb 3, 2005
votes: 0

I've got a site where 99% of the content is generated on the fly by PHP scripts from a database. Most of it is text and HTML forms but there are also dynamically generated images.

At present our front end is just a bog standard HTML affair, but I'm particularly interested in developing a Flash interface to make the site more attractive.

My main concern, having never used Flash at all, is how well will it integrate with our PHP scripting? Can a form in Flash pass data to a PHP script for processing and how easy is it to get the dynamic content produced by the PHP script back into the Flash UI?


5:44 pm on Apr 30, 2005 (gmt 0)

Senior Member

WebmasterWorld Senior Member rocknbil is a WebmasterWorld Top Contributor of All Time 10+ Year Member

joined:Nov 28, 2004
votes: 0

Yes it can, there are functions in ActionScript to load data from external URL's and send them to them as well.
11:12 pm on May 1, 2005 (gmt 0)

Junior Member

10+ Year Member

joined:Feb 3, 2005
votes: 0


I'll look into it.

11:41 pm on May 1, 2005 (gmt 0)

New User

10+ Year Member

joined:May 1, 2005
votes: 0

Try to read about this method: sendAndLoad()

basically, you can send variables from Flash to any serverside programming language. At the serverside (such as PHP), you get the data using the $_POST["var1"] or $_GET["var2"] depends on you send variables as POST or GET.

When you want to send data from PHP back to Flash, try to read this method: LoadVars().

Hope that will get you start.



Join The Conversation

Moderators and Top Contributors

Hot Threads This Week

Featured Threads

Free SEO Tools

Hire Expert Members