dougong2306 2014-12-12 13:56
浏览 20

如何使用PHP将现有文件发送到远程计算机

My scenario is I have a file(not an image, some .txt) on my machine which has a Xampp running, now i need to copy it to a certain location(dir) on a remote machine.This should happen through Php I tried exploring cUrl,$_FILES, and others things, none worked. All the similar questions have answers assuming FTP, or that the remote machine has a handler php, or that user(who will run that php) is going to choose the file to upload which is not. Can somebody please help me Other info is the Xampp is on windows but the remote is a linux machine

  • 写回答

0条回答 默认 最新

    报告相同问题?