The aim of this example is to create a simple PHP script that cam be fed a url from the command line and xml from the standard in. It will then send the xml to the url and get the response. This works with http and secure http or https too. Use this PHP script to quickly and easily test your web services or third party web services. This also demonstrates reading from standard in or STDIN.
Comments