Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
我正在编写一个脚本来上传文件,我需要通过 AJAX 访问文件 /includes/templates/mytemplates/myupload.php 文件,但是如果我尝试在 zen cart 中访问它,它会发出 500 服务器错误,我不会有权访问此类文件。
有什么出路吗?
您可能需要将通用代码移动到可以放入购物车主目录的文件中(包含目录和 index.php 所在的同一目录)。