Flash, not on my site

XML, Perl, Python, and other languages can be discussed here, even if it isn't PHP (We might forgive you).

Moderator: General Moderators

Post Reply
henshouse
Forum Newbie
Posts: 1
Joined: Sun Oct 31, 2010 2:12 pm

Flash, not on my site

Post 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.
User avatar
Jonah Bron
DevNet Master
Posts: 2764
Joined: Thu Mar 15, 2007 6:28 pm
Location: Redding, California

Re: Flash, not on my site

Post 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.
Post Reply