# PhP/Flash!

**URL:** <https://forum.kirupa.com/t/php-flash/85075>\
**Category:** Uncategorized\
**Created:** [April 1, 2005, 4:12pm UTC](https://forum.kirupa.com/t/php-flash/85075 "2005-04-01T16:12:41Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![KeSh](https://avatars.discourse-cdn.com/v4/letter/k/50afbb/32.png) [@KeSh](https://forum.kirupa.com/u/KeSh)\
**Post date:** [April 1, 2005, 4:12pm UTC](https://forum.kirupa.com/t/php-flash/85075/1 "2005-04-01T16:12:41Z")

</div>

How can i control a movie in PHP???

For example, i wanted to do the following:

-php file

if(variable nor registered)  
play();  
else  
gotoFrame(LastFrame);

OR

- flash movie

if($phpvar==0)  
play();  
else  
gotoFrame(LastFrame)

how can i input flash commands from php…or how can i read php variables in actionscript?
