# URLshorting **Repository Path**: qi-ling/URLshorting ## Basic Information - **Project Name**: URLshorting - **Description**: No description available - **Primary Language**: Unknown - **License**: Apache-2.0 - **Default Branch**: master - **Homepage**: None - **GVP Project**: No ## Statistics - **Stars**: 0 - **Forks**: 0 - **Created**: 2021-10-10 - **Last Updated**: 2021-10-10 ## Categories & Tags **Categories**: Uncategorized **Tags**: None ## README



URLshorting
License GitHub stars GitHub forks GitHub last commit

# 需要注意 该项目暂时不再维护,我们将完全重构该项目,为了保证历史commit 以及 保证新项目的commit清晰, 我们准备在 https://github.com/soxft/UrlShorter 完成新的项目
如果您有任何新的建议, 可以在 /soxft/UrlShorter 提出issue 感谢支持 ## 国内镜像地址 [Gitee](https://gitee.com/dtnetwork/UrlShorting) ## Github发布地址 [soxft](https://github.com/soxft/UrlShorting) [essesoul](https://github.com/essesoul/UrlShorting) ## 简介 一个url网址缩短平台. demo:[K6o短链接](https://www.k6o.top/) ## 安装方法 1.下载源码.
2.上传至你的网站根目录.
3.访问网站域名填写mysql等信息进行安装
4.修改网站伪静态配置:
Nginx: ``` if (!-e $request_filename) { rewrite ^/(.*)$ /index.php?id=$1 last; } ``` Apache: ``` RewriteEngine On RewriteCond %{REQUEST_FILENAME} !-f RewriteCond %{REQUEST_FILENAME} !-d RewriteRule ^(.*)$ /index.php?id=$1 [L] ``` IIS (仅供参考,未进行测试): ``` ```
5.访问网站进行确认. ## 版权 xcsoft版权所有 该源码依据apache2开源协议开源,请不要修改版权信息!

Secondary Developed By k6o.top

Contact us: Gary@dtnetwork.top

## 更新 v2.2.3更新
此次更新由k6o短链接提供

email: Gary@dtnetwork.top

1.更新了版本号获取方式,直接拉取GitHub的releases

2.修改了footer.php中的显示bug

3.版本号不再写入数据库和config.php,直接写在php变量中

4.更新footer和友链

5.优化了一下代码的缩进

PS:下次更新计划加上登陆页面验证码和统计代码

## 其他提示 由于某些原因,该源码仍然使用Mysqli连接数据库,可能缺乏一定的安全性,使用时请注意使用WAF等平台进行保护。 该项目目前由essesoul进行维护