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

PHP programming forum. Ask questions or help people concerning PHP code. Don't understand a function? Need help implementing a class? Don't understand a class? Here is where to ask. Remember to do your homework!

Moderator: General Moderators

Post Reply
Citizen
Forum Contributor
Posts: 300
Joined: Wed Jul 20, 2005 10:23 am

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

Post 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.
psychotomus
Forum Contributor
Posts: 487
Joined: Fri Jul 11, 2003 1:59 am

Post by psychotomus »

if (isset($_POST['score']))

how many games do you have that send scores?
Citizen
Forum Contributor
Posts: 300
Joined: Wed Jul 20, 2005 10:23 am

Post by Citizen »

thanks!
Post Reply