doushang2571 2011-05-17 03:26
浏览 62

php file_get_contents('... datafile.xml') - 从我的本地桌面获取数据文件?

I have a database that exports xmls only locally (to my computer). It will not export to a remote server.

I have a php file (located on remote server) that sends the xml to a webserivce. Can I have the remote php file use "file_get_contents" function to extract xml data from my local computer?

If so, what is the proper syntax? Thanks in advance.

  • 写回答

3条回答 默认 最新

  • dongying9756 2011-05-17 03:33
    关注

    I think you should add a file upload page,upload the local xml file to remote server,the do the the next work.

    评论

报告相同问题?