| Welcome to WebmasterWorld Guest from 126.96.36.199 |
register, free tools, login, search, pro membership, help, library, announcements, recent posts, open posts,
|Become a Pro Member|
|Flash doesn't capture REFERER even now?|
Want php to capture HTTP_REFERER
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.
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.
You can send headers using addRequestHeader() when using loadVars or loadXML. Look it up in the help. You can't set certain headers (like referer), but you can create your own for your own purposes.
If page_2 (that has flash on it) is a php page then $_SERVER has referer information. I don't see why you wouldn't get page_2 to communicate with page_3 at parse time on the server.
If you really want to have flash send page_3 the referer you could pass flash the $_SERVER['http_referer'] like this:
then the var referer will be available at _root on frame 1 of your movie. Then you can send if to page_3
All trademarks and copyrights held by respective owners. Member comments are owned by the poster.
WebmasterWorld is a Developer Shed Community owned by Jim Boykin.
© Webmaster World 1996-2014 all rights reserved