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

您现在的位置是:虫虫源码 > PHP > 这是一个很简单的链接缩短PHP网站,使用MySQL数据库。

这是一个很简单的链接缩短PHP网站,使用MySQL数据库。

资 源 简 介

This project is simply a link shortening site, it takes a link, searches the database to check if the link already exists, and if it doesnt, it creates a random string, alpha-numeric with upper and lower case, then continues to check if it already exists within the database, and if it does, it creates another one until it creates a random string which does not exist in the database. It returns the new link to the user which points to the given link in the database which is done using php header() function. Still todo: It doesnt check to make sure the given link is a url, or in url form, or if the url is real, can easily be done using regex and curl...

文 件 列 表

shrinker
.htaccess
.svn
config.php
database.php
hash_functions.php
index.php
link_functions.php
VIP VIP
1.198610s