Forum Moderators: open
Sorry to rejuvenate an archaic thread but just wanted to know if anyone has figured this out? I'd like my movie to be able to call a PHP file, and deliver the referer URL to php.
E.g.,
Page 1 --> Page 2 SWF --> Page 3 PHP called inside SWF
I'd like Page 3 to be able to get Page 1 as the referer.
Appreciate pointers!
If you really want to have flash send page_3 the referer you could pass flash the $_SERVER['http_referer'] like this:
src="../media/flash/style3/flashmovie.swf?referer=<?= $_SERVER['http_referer']?>">"
then the var referer will be available at _root on frame 1 of your movie. Then you can send if to page_3