I have asked many questions in the past but I think this is my silliest one yet. I am trying to figure out how I can post a file from a command line script to a php file on another server without the use of a browser. I have done many web forms in my lifetime that does this using CGI where you press submit and all of it is taken care of. I have tried Googling all different types of phrases but to no avail. I don't even know where to begin. Can someone point me in the right direction? I don't know if this will make a difference but I would like to post an xml file.
Any suggestions would be greatly appreciated.