CodeIgniter 4 中的 AWS S3 集成失败

问题描述

CodeIgniter 3 中的 S3 工作正常,但在 CodeIgniter 4 中复制代码时失败。 在这里我附上了 S3.PHP错误截图。 请让我知道问题出在哪里。还有一件事 。我正在使用 PHP 7.4

enter image description here

from datetime import date

def format_sql(query,args):
    new_args = []
    for arg in args:
        new_args.append(str(arg).replace("'","''"))
    return query % tuple(new_args)

print(format_sql("insert into mytable(x,y,z) values('%s','%s','%s')",("Booboo's car",date.today(),2)))

解决方法

暂无找到可以解决该程序问题的有效方法,小编努力寻找整理中!

如果你已经找到好的解决方法,欢迎将解决方案带上本链接一起发送给小编。

小编邮箱:dio#foxmail.com (将#修改为@)