Page 1 of 1

Flash, not on my site

Posted: Sun Oct 31, 2010 2:27 pm
by henshouse
Hi,

I'm very new to php, mysql, and owing a website. I just got my first website a couple days ago and have been looking up tutorials on php/mysql.

Anyway, I made a flash app that will be on multiple websites. I want to track the number of hits my app gets. I already have a working hit counter for my app. However, the hits only get tracked when the app is executed from my site, and not from other sites. Also, I tested my app from within the Flash IDE, and it worked there. I tested it on a couple different swf hosting sites like: megaswf and swfcabin. Hits weren't tracked from either of those sites.

I did a bit of research and found that there may be some chmod restrictions on either the php file counting the hits. Right now, counter.php is 644. Not sure if this is relevant to the problem.

Thanks for the help, let me know if I need to include more information.

Re: Flash, not on my site

Posted: Wed Nov 03, 2010 9:58 pm
by Jonah Bron
Without seeing your Actionscript counter code, it's impossible to tell you what the problem is. My hip-shot guess is that you are using a relative path to the counter file.