有一种方法可以让我使用 codeigniter 中的 File Uploading Class 上传图像???
我使用这个例子并且工作https://www.codeigniter.com/user_guide/libraries/file_uploading.html
但是想要在文本字段中使用 url<input type="file" name="userfile"/>
抱歉,英语不是我的母语 使用 url 上传图片,例如使用 curl 但使用 File Uploading Class
有一种方法可以让我使用 codeigniter 中的 File Uploading Class 上传图像???
我使用这个例子并且工作https://www.codeigniter.com/user_guide/libraries/file_uploading.html
但是想要在文本字段中使用 url<input type="file" name="userfile"/>
抱歉,英语不是我的母语 使用 url 上传图片,例如使用 curl 但使用 File Uploading Class
不,如果用户通过表单上传文件,则为文件上传类。
您需要从文本字段中获取 URL,然后使用cURL之类的内容来获取内容并将它们写入服务器上的文件。