Jump to content

[SOLVED] flash to php


rgpaddler

Recommended Posts

Hi I'm in a bit of a fix and a complete beginner at php,although it might be a question I need to ask on a flash forum.

 

A php sequencer I found stores information such as notes and instruments in a txt file with a randomly generated name such as:-

 

8039698269.mix

 

and looks like this:-

 

a:37:{s:6:"aktiv1";s:2:"on";s:5:"note1";s:2:"35";s:5:"inst1";s:1:"1";s:4:"vol1";s:3:"127";s:3:"n10";s:2:"on";s:3:"n14";s:2:"on";s:3:"n18";s:2:"on";s:4:"n112";s:2:"on";s:6:"aktiv2";s:2:"on";s:5:"note2";s:2:"38";s:5:"inst2";s:1:"1";s:4:"vol2";s:3:"127";s:3:"n20";s:2:"on";s:3:"n24";s:2:"on";s:3:"n28";s:2:"on";s:4:"n212";s:2:"on";s:5:"note3";s:2:"35";s:5:"inst3";s:1:"1";s:4:"vol3";s:3:"127";s:5:"note4";s:2:"35";s:5:"inst4";s:1:"1";s:4:"vol4";s:3:"127";s:5:"inst5";s:1:"0";s:5:"note5";s:2:"35";s:4:"vol5";s:3:"127";s:5:"inst6";s:1:"0";s:5:"note6";s:2:"35";s:4:"vol6";s:3:"127";s:5:"inst7";s:1:"0";s:5:"note7";s:2:"35";s:4:"vol7";s:3:"127";s:5:"inst8";s:1:"0";s:5:"note8";s:2:"35";s:4:"vol8";s:3:"127";s:3:"bpm";s:3:"150";s:3:"rep";s:1:"4";s:7:"publish";s:7:"Publish";}

 

the thing is I'm trying to write a flash application that will generate these values and send them to php as a single string variable.I'm stuck because flash wont except the quotation marks within the data - so I'm stuck.I'm guessing its something to do with serialization?

 

If anybody has a clue how this can be done,your help would be extremely appreciated.Cheers

 

 

Link to comment
Share on other sites

This thread is more than a year old. Please don't revive it unless you have something important to add.

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Restore formatting

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.