mirror of
https://github.com/moparisthebest/curl
synced 2024-12-21 23:58:49 -05:00
rewrote 3.9 to be more generic with more languages:
"3.9 How do I use curl in my favourite programming language?"
This commit is contained in:
parent
97a8c98886
commit
dfdf4916fa
24
docs/FAQ
24
docs/FAQ
@ -33,7 +33,7 @@ FAQ
|
|||||||
3.6 Does curl support javascript, ASP, XML, XHTML or HTML version Y?
|
3.6 Does curl support javascript, ASP, XML, XHTML or HTML version Y?
|
||||||
3.7 Can I use curl to delete/rename a file through FTP?
|
3.7 Can I use curl to delete/rename a file through FTP?
|
||||||
3.8 How do I tell curl to follow HTTP redirects?
|
3.8 How do I tell curl to follow HTTP redirects?
|
||||||
3.9 How do I use curl in PHP, Perl, Tcl, Ruby or Java?
|
3.9 How do I use curl in my favourite programming language?
|
||||||
3.10 What about SOAP, WebDAV, XML-RPC or similar protocols over HTTP?
|
3.10 What about SOAP, WebDAV, XML-RPC or similar protocols over HTTP?
|
||||||
3.11 How do I POST with a different Content-Type?
|
3.11 How do I POST with a different Content-Type?
|
||||||
3.12 Why do FTP specific features over HTTP proxy fail?
|
3.12 Why do FTP specific features over HTTP proxy fail?
|
||||||
@ -335,11 +335,12 @@ FAQ
|
|||||||
|
|
||||||
curl -L http://redirector.com
|
curl -L http://redirector.com
|
||||||
|
|
||||||
3.9 How do I use curl in PHP, Perl, Tcl, Ruby or Java?
|
3.9 How do I use curl in my favourite programming language?
|
||||||
|
|
||||||
There exist many language-interfaces for curl that integrates it better with
|
There exist many language interfaces/bindings for curl that integrates it
|
||||||
various languages. If you are fluid in a script language, you may very well
|
better with various languages. If you are fluid in a script language, you
|
||||||
opt to use such an interface instead of using the command line tool.
|
may very well opt to use such an interface instead of using the command line
|
||||||
|
tool.
|
||||||
|
|
||||||
At the time of writing, there are bindings for the five language mentioned
|
At the time of writing, there are bindings for the five language mentioned
|
||||||
above, but chances are there are even more by the time you read this. Or you
|
above, but chances are there are even more by the time you read this. Or you
|
||||||
@ -350,16 +351,9 @@ FAQ
|
|||||||
|
|
||||||
http://curl.haxx.se/libcurl/
|
http://curl.haxx.se/libcurl/
|
||||||
|
|
||||||
PHP4 has the ability to use libcurl as an internal module if built with that
|
In December 2001, there are interfaces available for the following
|
||||||
option enabled. You then get a set of extra functions that can be used
|
languages: C/C++, Cocoa, Dylan, Java, Perl, PHP, Python, Rexx, Ruby, Scheme
|
||||||
within your PHP programs. You find all details about those functions in the
|
and Tcl. By the time you read this, additional ones may have appeared!
|
||||||
curl section in the PHP manual, see the online version at:
|
|
||||||
|
|
||||||
http://www.php.net/manual/ref.curl.php
|
|
||||||
|
|
||||||
PHP also offers the option to run a command line, and then you can of course
|
|
||||||
invoke the curl tool using a command line. This is the way to use curl if
|
|
||||||
you're using PHP3 or PHP4 built without curl module support.
|
|
||||||
|
|
||||||
3.10 What about SOAP, WebDAV, XML-RPC or similar protocols over HTTP?
|
3.10 What about SOAP, WebDAV, XML-RPC or similar protocols over HTTP?
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user