I have a really nice PHP tell a friend script that works great. I can call the form using the getURL but i need to make the script read the page URL that the .swf file lives on and not the .swf file itself.

Is there a way to make this happen?