Replace ID with Title

Post your Click counter digestion problems here
Post Reply
Flexr
Posts: 2
Joined: Thu Nov 21, 2013 10:36 am

Replace ID with Title

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

Re: Replace ID with Title

Post by Klemen »

Something like this would require editing CCount in several places and is unfortunately out of the cope of my 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
Flexr
Posts: 2
Joined: Thu Nov 21, 2013 10:36 am

Re: Replace ID with Title

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