URL short redirection that's little different from the traditional
01-22-2012, 01:03 PM,
#1
Information  URL short redirection that's little different from the traditional
Over the past few days I have been working on a new URL short redirection website that is a little different from the traditional URL short redirection websites. Instead of just making the link short and then having no warning of what the target website is, I have put a message along with the full URL of the target website and links to how that target website did or if there are any things that someone should know about.

Website URL is http://asx.me
Reply
01-22-2012, 06:09 PM,
#2
RE: URL short redirection that's little different from the traditional
I like it. You should add some stuff, though.
  • Add sequential URL generation so that users can leave the second field blank. I'm assuming that you're using a MySQL table with an auto_increment field, in which case you could use mysql_insert_id() in conjunction with some base-36 fumbling to get an alphanumeric, case-sensitive shortcode.
  • Why not see if McAfee, WoT and Norton have APIs available? That way you can let users quickly see how safe the site is without making them leave your site, which is somewhat inconvenient.
Other than that, it's very nice.
Hi! I'm Zach, and I founded NiftyHost. If you need anything, just PM me! :)
Reply
01-22-2012, 07:03 PM,
#3
RE: URL short redirection that's little different from the traditional
It's "Stop Online Piracy Act" not "Piract Act".

Explain what seed is, please?
Reply
01-22-2012, 07:06 PM,
#4
RE: URL short redirection that's little different from the traditional
"Seed" is your short URL's ID.
http://asx.me/?seed
Hi! I'm Zach, and I founded NiftyHost. If you need anything, just PM me! :)
Reply
01-22-2012, 07:10 PM,
#5
RE: URL short redirection that's little different from the traditional
Oh, thanks.

But this is kinda of weird.

I'd use Short URL ID or like costum alias.
Reply
01-22-2012, 07:27 PM,
#6
RE: URL short redirection that's little different from the traditional
Yeah. "Seed" is usually a short string used to create stronger hashes, not an alias for a long URL.
Hi! I'm Zach, and I founded NiftyHost. If you need anything, just PM me! :)
Reply
01-22-2012, 11:39 PM,
#7
RE: URL short redirection that's little different from the traditional
It is funny how it permits https urls. Also, you should like.. strip_tags() the userinput everywhere and check if the domain/'seed' looks atleast a bit valid.
With love,
HiddenKnowledge
A.k.a. Yoruichi Shihouin

If you have any questions, feel free to contact me trough email or pm. :)
Reply
01-23-2012, 01:29 AM,
#8
RE: URL short redirection that's little different from the traditional
Thank you everyone for your feedback.

I now changed the word from “seed” to “custom name”.

Zack, I like your idea about having McAfee, WoT and Norton AIP on my site, however this PHP script came from BrokenScript.com witch is a little tricky on getting everything to work, do not know a whole lot of PHP coding. I am not source exactly how to show there ratings on my website using there APIs. I agree leave my site, maybe somewhat inconvenient.

HiddenKnowledge I do not understand what you mean by strip_tags(). I’m lost there.

Zack I also do not understand what you mean by “MySQL table with an auto_increment field, in which case you could use mysql_insert_id() in conjunction with some base-36 fumbling to get an alphanumeric, case-sensitive shortcode”. I’m also lost there.

Once again thank you for your feedback.
Reply
01-23-2012, 04:59 AM,
#9
RE: URL short redirection that's little different from the traditional
I was telling you how you could automatically generate sequential alphanumeric IDs. I thought you knew PHP.
Hi! I'm Zach, and I founded NiftyHost. If you need anything, just PM me! :)
Reply
01-24-2012, 07:54 AM,
#10
RE: URL short redirection that's little different from the traditional
That's alright. Could you tell me what is automatically generate sequential alphanumeric ID?
Reply


Forum Jump: