Frame label frpm PHP

Hi All,

I am sure this has been addressed before but I can not find any info in the archives.

I am calling a php file from flash that checks for a cookie cross references a SQL database and then depending on the result moving the user to a frame within my flash file.

It all seems to be working apart from flash understanding the frame label and moving there.

Below is the end of my PHP with the appropriate bits, can anyone please point me to a reference or the easiest way to make the below code work.


else:
header(“Location: FrameLabel Here”);
exit;
endif;
header(“Location: OtherFrameLabel Here”);
endif;

?>


kindest
Craig