| Welcome to WebmasterWorld Guest from 126.96.36.199 |
register, free tools, login, search, subscribe, help, library, announcements, recent posts, open posts,
|Pubcon Platinum Sponsor|
|Flash doesn't capture REFERER even now?|
Want php to capture HTTP_REFERER
| 5:36 pm on Oct 4, 2006 (gmt 0)|
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.
| 4:28 am on Oct 5, 2006 (gmt 0)|
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.
| 10:10 am on Oct 6, 2006 (gmt 0)|
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.
© Webmaster World 1996-2013 all rights reserved