PHPExcel import file from url

前端 未结 1 808
一个人的身影
一个人的身影 2021-01-27 01:42

i would like to import .tsv file with phpexcel from a website. With locale file is working, but if i change file location on \"http://...\", don\'t working.

$in         


        
相关标签:
1条回答
  • 2021-01-27 02:07

    PHPExcel uses file_exists() to test the file before opening it. file_exists() requires stat() support, which is available for a limited subset of stream wrappers such as file:// ftp:// and ssh2.sftp but is not available for http://

    You'll need to pull the file to the server's local filesystem first.

    0 讨论(0)
提交回复
热议问题