Page 1 of 1

How do I check to see if flash sent the info?

Posted: Mon May 22, 2006 1:56 pm
by Citizen
Basically, I have a flash file that is sending the "score" variable to my php file. I know the flash file works and is correctly sending the info.

I can echo $score as well.

What I need to do is setup an "if" statement that will check to see if the info was sent at all so that my script will display something different.

Posted: Mon May 22, 2006 2:12 pm
by psychotomus
if (isset($_POST['score']))

how many games do you have that send scores?

Posted: Mon May 22, 2006 2:12 pm
by Citizen
thanks!