Page 1 of 1

2 servers: 1 has p2p, other doesnt

Posted: Thu Sep 15, 2005 8:19 pm
by dossingdave@hotmail.com
Script URL:
Version of script: 1.1
Version of PHP:
Hosting company:
Have you searched THIS FORUM for your problem: yes
(if not please do before posting)
If so, what terms did you try:

Write your message below:

Hello everyone,
i have a question, (btw, i think this script RULES!! :D )

I have a free website server, one that has no adds, but doesnt allow php.
And one that has adds and allows PHP.

Ok, the one that has adds is the one that i use for php files i need for my site only. The one with no adds is the one that my visitors use (the one that has all the html files on)

Ok, i have the code on the php site installed correctly, but, i want my visitors, on the site that has no adds, to be able to view the download counter for files. i cant seem to do this because there are to different servers that im using! :(

Can someone please help me out??? all help is greatly appreciated!!!! :D
Again, thanks for this script!!!!!!!

Dave

Posted: Fri Sep 16, 2005 2:20 pm
by Klemen
Hi,

CCount should work OK on your server if it is inatalled properly on the other server. Just make sure you use links like
http://www.yourPHPserver.com/.../click.php?id=ID
on your server with no ads or php support.

Did you try if it works ok on the PHP enabled server? If your hosting company autmoatically places ads in every page on that server then it might mess up the result and it won't work properly.

Posted: Fri Sep 16, 2005 7:41 pm
by dossingdave@hotmail.com
thanks for ur reply, but would u be able to give me the code that will show my visitors how many times the file has been downloaded???

Dave

Posted: Sat Sep 17, 2005 3:22 pm
by Klemen
You will get that code from the admin panel. Just login to the admin panel, submit the "Add new link" form and you will get the link there.

Regards

Posted: Sun Sep 18, 2005 12:54 pm
by dossingdave@hotmail.com
lol, that code is the code to link to the file but what im lookin for is the javascript code to show my visitors how many times the certain file has been downloaded lol!

ty for the help btw ;)

Posted: Sun Sep 18, 2005 7:48 pm
by Klemen
Read the readme.htm file :wink:

And yes - if the sertver automatically gives ads to every page it is possible it also adds it to the Javascript "page" (code) and it messes it up. It won't work if it does that, get a server with no ads and php support.