首页| JavaScript| HTML/CSS| Matlab| PHP| Python| Java| C/C++/VC++| C#| ASP| 其他|
购买积分 购买会员 激活码充值

您现在的位置是:虫虫源码 > PHP > URL shortening algorithm (php source code) mysql

URL shortening algorithm (php source code) mysql

  • 资源大小:4.91 kB
  • 上传时间:2021-06-29
  • 下载次数:0次
  • 浏览次数:1次
  • 资源积分:1积分
  • 标      签: php mysql

资 源 简 介

URL shortening is a technique on the World Wide Web in which a Uniform Resource Locator (URL) may be made substantially shorter in length and still direct to the required page. This is achieved by using an HTTP Redirect on a domain name that is short, which links to the web page that has a long URL. Now the source may produce one random string based on the input asscii encode id to one short string. decode one short string to id add checker for short string, e.g. abcd, ab is checker, cd is real short url. use database to store id and url, e.g. mysql sqlite, etc, use file to store id and url, not need to save the short url, the algorithm auto-reverse the short url to id

相 关 资 源

您 可 能 感 兴 趣 的

同 类 别 推 荐

VIP VIP
0.183625s