I there. I seem to be having some problems passing variable from Flash to HTML.
In my movie I simply havea variable text box named ‘value’ and a button. The user types in some text and then when pressing the button it passes that variable to a new HTML page. The problem I’m having is the PHP part.
So again I’m passing the varilabe ‘value’.
I then send the variable using getURL:
//send variable
on (release){
getURL(‘http://localhost/middle.php4’,_blank,'GET’);
}
The middle.php4 conatins the following code
<title> Passing the Variable <? echo $value ?></title>
…and in the body contains a line:
The variable you should see is <? echo $value ?>
When looking this in the browser the <title> just prints it exactly has shown '<? echo $value ?>
where as the second line doesn’t show the value at all (i.e. The variable you should see is blank)
I tried adding the line $value = $_POST[‘value’] but that didn’t work.
Any other thoughts? Could there be something wrong with my PHP? I’m running on 4.3