Re: Command Line conversion to php
Daniel Stenberg <[email protected]> Tue, 22 Feb 2011 22:54:14 +0100 (CET)
| Newsgroups | gmane.comp.web.curl.php |
|---|---|
| Message-ID | <[email protected]> |
On Tue, 22 Feb 2011, Tom Spappola wrote: > Can someone please help me to convert the following command line to php ? > > curl -ssl2 -k -d @invio.xml -H "Content-Type: > application/soap+xml;charset=UTF-8" "https://www.webservice/gofor.wsdl" 1. "-ssl2" is four different single-letter options written next to each other. If you want the long version of an option use two dashes: --sslv2 2. Consider using the --libcurl option to get a basic C program skeleton generated for the command line set you used. Converting that into PHP is often rather trivial. -- / daniel.haxx.se _______________________________________________ http://cool.haxx.se/cgi-bin/mailman/listinfo/curl-and-php