当前位置:网站首页>How to save your code works quickly to better protect your labor achievements
How to save your code works quickly to better protect your labor achievements
2022-07-04 23:28:00 【YUJIANYUE】
<?php
/*
function :
Compress dozens of your source code files hash Values are listed , And the listed content will be deposited on the third-party deposit platform, such as where to deposit .
Pay attention to saving the compressed package file and the obtained characteristic content to the network private hard disk at the same time, such as alioss.
*/
$filez = "./chalide.zip";
$lisa = array();
$lisa["filepath"] = $filez;
$lisa["md5_file"] = md5_file($filez);
$lisa["sha_file"] = sha1_file($filez);
$lisa["filesize"] = filesize($filez);
$liha = hash_algos();
foreach($liha as $limi){
$lisa[$limi] = hash_file($limi,$filez);
}
$filet = "<h3>$filez<h3>";
foreach($lisa as $tp=>$zz){
$filet .= "<p>$tp => $zz</p>\r\n";
}
echo "$filet";
?>
边栏推荐
猜你喜欢
QT addition calculator (simple case)
Redis getting started complete tutorial: hash description
Jar批量管理小工具
Redis introduction complete tutorial: Collection details
高配笔记本使用CAD搬砖时卡死解决记录
MariaDB的Galera集群-双主双活安装设置
[kotlin] the third day
可观测|时序数据降采样在Prometheus实践复盘
Hash table, hash function, bloom filter, consistency hash
MariaDB的Galera集群应用场景--数据库多主多活
随机推荐
45岁教授,她投出2个超级独角兽
使用快解析搭建自己的minecraft服务器
A mining of edu certificate station
[binary tree] the maximum difference between a node and its ancestor
Using the uniapp rich text editor
Font design symbol combination multifunctional wechat applet source code
智力考验看成语猜古诗句微信小程序源码
Application of machine learning in housing price prediction
机器学习在房屋价格预测上的应用
华泰证券低佣金的开户链接安全吗?
HMS core machine learning service
The initial trial is the cross device model upgrade version of Ruijie switch (taking rg-s2952g-e as an example)
实战模拟│JWT 登录认证
[Taichi] change pbf2d (position based fluid simulation) of Taiji to pbf3d with minimal modification
Servlet+JDBC+MySQL简单web练习
Ffmpeg quick clip
Phpcms paid reading function Alipay payment
[ODX studio edit PDX] -0.3- how to delete / modify inherited elements in variant variants
【ODX Studio编辑PDX】-0.3-如何删除/修改Variant变体中继承的(Inherited)元素
Qt加法计算器(简单案例)