Page 1 of 1

Replace ID with Title

Posted: Thu Nov 21, 2013 10:52 am
by Flexr
Script URL: http://phpjunkyard.com/php-click-counter.php
Version of script: 1.2
Hosting company: Tech-Hosts
URL of phpinfo.php: n/a
URL of session_test.php: n/a
What terms did you try when SEARCHING for a solution: id, change, custom, title, replace id with title - searched Google the same terms.

Write your message below:

Hi Guys,

Anyone know if it's possible or how to change it so rather than ID "click.php?id=x" It's the title? for example:

mydomain.com/click.php?id=topic-one

I currently use .htaccess to remove the .php?id= my links are formatted as mydomain.com/go/x but that's fine. I basically want to be able to use the title rather than it's ID - not worried about spaces as titles with spaces will simply be replaced with "-" for example rather than;

Title; This is topic one
Title; this-is-topic-one

If you're not sure or know a MySQL based script like CCount, please let me know.

Thanks,
Flexr

Re: Replace ID with Title

Posted: Fri Nov 22, 2013 2:49 pm
by Klemen
Something like this would require editing CCount in several places and is unfortunately out of the cope of my support.

Re: Replace ID with Title

Posted: Fri Nov 22, 2013 4:29 pm
by Flexr
Klemen wrote:Something like this would require editing CCount in several places and is unfortunately out of the cope of my support.
Okay, thanks anyway! :-)

I'll hunt around.