Hi Hak5'ers,
I am definitely a noob when it comes to coding -- I openly admit it. Before you flame me and try to get me to open a PHP book, I need to let you know that I am a teacher and this stuff doesn't come easy for me. I was wondering if someone would be able to help me out.
I want to put a short url script on my site (like Tiny URL). I have found a script called mlurl. This might be a good edition for hak5 too, especially if there are long addresses and they use tinyurl for them.
I have placed the files online at http://drop.io/linkshortener
Here is my issue. The script works great, if you use it in the following format: domain.com/mlurl/shortlink
I want to be able to do this instead: link.domain.com/shortlink. Does anyone have any ideas after looking at the included files? I tried the programmer, but he doesn't respond to my inquiries. I know how to create my subdomain. That isn't the issue. It is getting the script to recognize that it is link.domain.com instead of domain.com/link.
I see potential for this script, but I haven't been able to find anything out there to do what I am looking for.
Thanks for any help that you can provide.
Jamie