常见的字符串处理方式
时间:2021-09-09 07:57:59
收藏:0
阅读:43
$filename = root_path()."public/qrcode/".time().‘.png‘;
$filename = str_replace("\\",‘/‘,$filename); //反斜杠转化为正斜杠

tp6 引入文件方式:
$filename = root_path()."public/qrcode/".time().‘.png‘;
原文:https://www.cnblogs.com/test-php/p/15241426.html
评论(0)