PHP Variable help

im trying to create a small site with 1 flash file on all the pages (the same flash file)
so when you go to a new page a new image will show in the flash file (based on the variable)

each page is going to have a php variable
ex.
homepage (index.php) - <?php $pageID = “Home”;?>
about page (about.php) - <?php $pageID = “About”;?>

my question is how can i get the flash file to recognize the “pageID” variable
essentially i would like the flash to do something like this:

(pseudocode)
if($pageID == “Home”){
gotoAndPlay(x)
}
if($pageID == “About”){
gotoAndPlay(y)
}

Thanks in advance =)