Click Counter URL character limit?

Post your Click counter digestion problems here
Post Reply
moundtown
Posts: 3
Joined: Tue Feb 11, 2020 5:06 pm

Click Counter URL character limit?

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

Re: Click Counter URL character limit?

Post 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
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
moundtown
Posts: 3
Joined: Tue Feb 11, 2020 5:06 pm

Re: Click Counter URL character limit?

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

Re: Click Counter URL character limit?

Post 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.
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
moundtown
Posts: 3
Joined: Tue Feb 11, 2020 5:06 pm

Re: Click Counter URL character limit?

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