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
https://forums.phpfreaks.com/topic/60101-solved-flash-to-php/
Share on other sites

Archived

This topic is now archived and is closed to further replies.

×
×
  • 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.