FMX - Variables to PHP Script Page

I am using the free e-card script from Flash-db.com and have modified the .swf file (that makes up the card) so that a user can choose a midi file from a drop down list and the data is written to the same external db file that holds the user’s name, email, message, etc

I need to be able to retrieve the midi file information, which is a URL, and load it into the php script which dynamically generates the card-view page and not back into the flash movie, since midis won’t work with Flash.

So far, I either get nothing or the wrong variables - I am certain, since the info is right there in the data file with all the other data that is loading correctly, that there must be some simple way to do this but I apparently I am either too dumb or tired to figure out what it is.

This is what the data file that holds the user’s info looks like ($Music is usual placeholder for the URL of the midi):

ToName=user&ToEmail=user@user.com&FromName=user&FromEmail=user@user.com&Greeting=test&IntroMessage=test&Created=Ecard Created on Friday 15th of August 2003 ( 01:56:39 PM )&Music=http://www.cardsbyali.com/ac/Clouds.mid

I have attached the code I have been trying to use to load the midi URL to the PHP script to this post (phpmiditagattachment.txt) because when I used the code tags nothing showed up

This is an example of the tags the PHP script uses to call for the data and generate a page for viewing the card (.swf) file:


<?

switch ($ENum) {

	case '1':
	$goto = "Ecard1.swf?EcardText=".$EcardText;
	$gotoFooter = "EcardFooter.swf?EcardText=".$EcardText."&EcardSelect=1";
	$Dimensions = "WIDTH=550 HEIGHT=450";
	$DimensionsFooter = "WIDTH=550 HEIGHT=250";
        break;
}

?>

The body of the page has tags to embed the swf file using PHP (example)


<? print "$Dimensions";?>>

Nothing I’ve tried works and I’ve searched the forums, read the PHP tutorials and have run out of ideas. This board has helped me a lot in the past, so I’ll keep my fingers crossed someone can help explain what I am doing wrong

Thanks in advance
ali

it should be

myvar1=value&myvar2=anothervalue

as opposed to

myvar1=value myvar2=anothervalue

I adjusted the music variable so that it was added before the date and now there are no gaps or breaks in the code before the URL, but I still can’t call for the URL successfully.

How should I be calling for the URL within the PHP script that generates the html page? I don’t know if I should be adding tags to the head coding or simply add the php code to the java script.

I have tried every combination that I could think of, using the Kirupa Tutorial about using flash data with a PHP script as my main guide, and it looks like it should be so simple that I feel like an idiot because it doesn’t work, but I just cannot get the URL from the data file into the PHP script no matter what I try although everything else loads beautifully into the flash movie

I do appreciate your response, though and wish so badly that had solved the problem - thanks a bunch for answering

ali