Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations Westi on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

understanding flash5 and server side scripts

Status
Not open for further replies.

webscripter

Programmer
Jul 29, 2002
266
US
Hi everyone,

Is it possible to relay info to and from a serverside perl script with flash 5? Thanks
Tricia
yorkeylady@earthlink.net
 
in flash5 use

loadVariablesNum ("myfile.php", 0, "POST");
 
I'm still learning, (have had flash for about a month now). Anyway, I've learned how to load variables from a txt file with a string like

name=Tricia&occupation=programmer

but you used the ext. php in the loadVarsNum. What's in the php file. I thought you could only load string variables. Does the php or perl file use some code to send info to flash?

Thanks
Tricia
yorkeylady@earthlink.net
 
yes php was misleading...thats because i use php as my server side script of choice..others get data in and out of flash using asp xml etc. flash must work through some middleware to read/write to a database but it aint fussy which one you use.
the php extension in my example was to access a php file which in turn ran a database query.
if its all new there are many good tutorials around but they are all server script specific.
to get more then text file information in flash 5 use the loadvariablesnum arguement with your server script of choice.
 
Are the parameters passed back to flash through hidden input fields in html or xml format, or by sending a URL like:

Wouldn't this style have to reload the swf file? I guess I need an fla file with a server side script for an example. I have php, perl, mysql, and java1.4 to test a script. If someone has a noncompiled script I could look at that would be great. Thanks
Tricia
yorkeylady@earthlink.net
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top