PDA

View Full Version : your counter - plz help me


vizido
01-22-2001, 04:30 PM
Hi,
I've downloaded your counter and I tried to put it in my host.
I set the crrect permissions and: in one of my host it works perfect but in another host it doesn't work. Both of them has support php3. why?
And, I How can I transfer it to flash 4? Your file was created in flash 5, and My site is built in 4, and I don't want to upgrade to 5 just becasue the counter.
Thanks
Ido
icq:6460240
vizido@hotmail.com

Jesse
01-22-2001, 11:34 PM
Perhaps your server doesn't support writing files. PHP may be enabled but some elements of the launguage may be dissabled for security reasons. This is the only reason I can think of for it not working on one while working on another.

OK here are the changes you have to make:

if (startup eq "")
{ startup = "Run Already";
loadVariables ("counter.txt?" add random(2000), "/counter");
}

change 'add' to '&'

if (loaded == "1") {
gotoAndPlay (3);
} else {
gotoAndPlay (1);
}

change '==' to '='

count = Number(count) + 1;
loadVariablesNum ("counter.php3?count=" + count, 0);
stop ();

Set Variable (count, count + 1)
replace the '+' in LoadVariablesNUM with an '&'.

That's it. Now it's Flash 4 code.

Cheers

Jesse