Re: [Flashcoders] to get last browsed web page before current

2007-02-07 Thread Glen Pike
If you just want to know the URL the person came from rather than visiting it. JavaScript: document.referrer PHP: $_SERVER['HTTP_REFERER']; //Note the misspelling of referrer - the misspelling is correct. Not sure about the former, but don't rely on the latter as many clients / AV progs see

Re: [Flashcoders] to get last browsed web page before current

2007-02-07 Thread Mick G
If you have access to PHP you can use http referrer (which isn't 100% effective, but one of the better solutions) $ENV{'HTTP_REFERER'} I'm not sure how well that will work with a Flash application but potentially you could send that to flash via a flashvar in PHP from your page. On 2/7/07, Jas

RE: [Flashcoders] to get last browsed web page before current

2007-02-07 Thread Steven Sacks | BLITZ
http://jeremiahgrossman.blogspot.com/2006/08/i-know-where-youve-been.htm l#whereyoubeen Use at your own moral peril. ___ Flashcoders@chattyfig.figleaf.com To change your subscription options or search the archive: http://chattyfig.figleaf.com/mailman/lis

Re: [Flashcoders] to get last browsed web page before current

2007-02-07 Thread Jason Boyd
This has disadvantage that if the user has javascript disabled, might fail silently. Though I know of no other way to do this. On 2/7/07, Jim Berkey <[EMAIL PROTECTED]> wrote: I've used this on a flash button embedded in an html page with success: on (release) { getURL("javascript:win

RE: [Flashcoders] to get last browsed web page before current

2007-02-07 Thread Rost, Andrew
I'm not a huge JavaScript person, but we use: getURL("javascript:history.back();"); Andrew -Original Message- From: Jim Berkey [mailto:[EMAIL PROTECTED] Sent: Wednesday, February 07, 2007 2:43 PM To: flashcoders@chattyfig.figleaf.com Subject: Re: [Flashcoders] to get l

Re: [Flashcoders] to get last browsed web page before current

2007-02-07 Thread Jim Berkey
I've used this on a flash button embedded in an html page with success: on (release) { getURL("javascript:window.history.go(-1)"); } jimbo *** REPLY SEPARATOR *** On 2/7/2007 at 9:11 PM mac wrote: >Hello, >Do you know how to get last browsed web page before current ? I