I could be totally wrong here.
I think you are asking if the php variables from an iframe are available to the page that contains the iframe.
It is my thought that because the iframe is somewhat it's own window running it's own page, you will not have access to the php vars.
Your best bet may be to use session variables to get something available to both pages, but without understanding your ultimate goal I cannot be sure.