Hello
Im having trouble with flash and php any help would be greatly appreciated
I want to send a top score, name and company to a database. But the values arn't getting to the page, the php page prints out none of the values
FLASH CODE:
if (punteggio>recordpunti)
{ //score > top score
recordpunti=punteggio;
}
score = punteggio;
name = player_name;
company = player_company;
if(punteggio > 0) {
getURL ( "http://www.logicimage.com/alan_fox_test/Keltech/TopScores.php",_parent,"POST");
}
stop ();
PHP:
$name = $HTTP_POST_VARS['name'];
$company=$HTTP_POST_VARS['company'];
$score = $HTTP_POST_VARS['score'];
echo "Name : ".$name.", Company :".$company.", SCORE : ".$score."<br>";
echo '<br>';