View Full Version : using toString() to write to PHP
Jiffy Loop
09-20-2002, 05:27 PM
I'm not sure how to go about what I'm trying to do here, but I'll try to explain as brief as possible. I have a form in flash in which you'll be able to name your own field names and variables. I have created a LoadVars object. I have all the variables dumped together using toString() which brings me something like this:
credit=this%20is%20new%20credits&source=%3CU%3E%3Cb%3Ethis%20is%20a%20new%20source% 3C%2FB%3E%3C%2FU%3E&moviename=hiking&headline=this%20is%20my%20new%20content%20system&fieldCount=4
Jiffy Loop
09-20-2002, 05:30 PM
I'm not sure how to go about what I'm trying to do here, but I'll try to explain as brief as possible. I have a form in flash in which you'll be able to name your own field names and variables. I have created a LoadVars object. I have all the variables dumped together using toString() which brings me something like this:
credit=this%20is%20new%20credits&source=%3CU%3E%3Cb%3Ethis%20is%20a%20new%20source% 3C%2FB%3E%3C%2FU%3E&moviename=hiking&headline=this%20is%20my%20new%20content%20system&fieldCount=4
Now I want to be able to pass this over to a PHP script which will then write this to a text file. I'm a PHP beginner and I'm familiar with some simple scripts to write to a text file. But thats only if I know the variable names already. But if the variable names will be different, how do I go about that??
Any help would be appreciated!!
Thanks,
Jiffy Loop
|
vBulletin® v3.8.4, Copyright ©2000-2009, Jelsoft Enterprises Ltd.