Page 1 of 1

Click Counter URL character limit?

Posted: Tue Feb 11, 2020 5:16 pm
by moundtown
Script URL: http://www.karaoke-software.net/counter/admin/admin.php
Version of script: 2.1.2
Hosting company: HostMonster
URL of phpinfo.php:
URL of session_test.php:
What terms did you try when SEARCHING for a solution: Click Counter URL character limit

Write your message below:
Is there a URL character limit when creating a new link?

Re: Click Counter URL character limit?

Posted: Wed Feb 12, 2020 6:33 am
by Klemen
CCount limits it to 255 chars. However, you can increase that limit by changing

Code: Select all

maxlength="255"
to say

Code: Select all

maxlength="1000"
in file admin/new_link.php

Re: Click Counter URL character limit?

Posted: Wed Feb 12, 2020 1:18 pm
by moundtown
Klemen wrote: Wed Feb 12, 2020 6:33 am CCount limits it to 255 chars. However, you can increase that limit by changing

Code: Select all

maxlength="255"
to say

Code: Select all

maxlength="1000"
in file admin/new_link.php
Thanks, but that didn't work. I'm trying to cloak a long PayPal affiliate url. Even after changing the maxlength it still stops at the same place.

Re: Click Counter URL character limit?

Posted: Wed Feb 12, 2020 5:17 pm
by Klemen
There are several

Code: Select all

maxlength="255"
in the new_link.php file, make sure you edit the first one (the one in the same line as name="url").

Also, don't forget to upload the modified file to your server and reload the admin page in your browser.

Re: Click Counter URL character limit?

Posted: Wed Feb 12, 2020 6:55 pm
by moundtown
Klemen wrote: Wed Feb 12, 2020 5:17 pm There are several

Code: Select all

maxlength="255"
in the new_link.php file, make sure you edit the first one (the one in the same line as name="url").

Also, don't forget to upload the modified file to your server and reload the admin page in your browser.
Apparently I changed the wrong one. It's working now. Thank you.