2009
02.22

About the Paté

I’ll write about it when I have more time !

  • Share/Bookmark

2 comments so far

Add Your Comment
  1. hi christophe,

    i found your url shorter script at yahoo. thank you for this nice stuff :) now i start it on my server and it runs very good, but i have some questions/need your help (you answer in your blog didnt helps)…

    a) if i delete the v/ from ^v/([0-9]*)$ show.php?id=$1 [L] .htacess i get a timeout because the server forword himself endless. how can i delete the v/ from htacess and create.php to run the shorter in this style “http://djpate.com/34561″? any ideas?

    b) how can i use numers AND letters in the shorter? i have change the data type from INT zu VARCHAR in phpmyadmin and change $possibleValues = “0123456789″; into $possibleValues = “0123456789asdf”; and change the line mysql_query(“select url from urls where id = $id”); into mysql_query(“select url from urls where id = ‘$id’”); but it doen’t works :( any idea?

    thank you for your help!

    steve

  2. hehe, this was a private message to you :-) maybe you delete my comments. thx ;-)