2 servers: 1 has p2p, other doesnt

Post your Click counter digestion problems here
Post Reply
dossingdave@hotmail.com

2 servers: 1 has p2p, other doesnt

Post 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
Klemen
Site Admin
Posts: 10116
Joined: Fri Feb 11, 2005 4:04 pm

Post 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.
Klemen, creator of HESK and PHPJunkyardWas this helpful? You can buy me a drink here Image

Image You should follow me on Twitter here

Help desk software | Cloud help desk | Guestbook | Link manager | Click counter | more PHP Scripts ...

Also browse for php hosting companies, read php books, find php resources and use webmaster tools
dossingdave@hotmail.com

Post 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
Klemen
Site Admin
Posts: 10116
Joined: Fri Feb 11, 2005 4:04 pm

Post 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
Klemen, creator of HESK and PHPJunkyardWas this helpful? You can buy me a drink here Image

Image You should follow me on Twitter here

Help desk software | Cloud help desk | Guestbook | Link manager | Click counter | more PHP Scripts ...

Also browse for php hosting companies, read php books, find php resources and use webmaster tools
dossingdave@hotmail.com

Post 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 ;)
Klemen
Site Admin
Posts: 10116
Joined: Fri Feb 11, 2005 4:04 pm

Post 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.
Klemen, creator of HESK and PHPJunkyardWas this helpful? You can buy me a drink here Image

Image You should follow me on Twitter here

Help desk software | Cloud help desk | Guestbook | Link manager | Click counter | more PHP Scripts ...

Also browse for php hosting companies, read php books, find php resources and use webmaster tools
Post Reply