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
Steve said: 2010.06.05 22:14
hehe, this was a private message to you maybe you delete my comments. thx
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
hehe, this was a private message to you
maybe you delete my comments. thx