Welcome Guest, Not a member yet? Register   Sign In
CURL
#1

[eluser]Sawariya[/eluser]
what is CURL ..can anybody explain abt it.. plz explain me with example
#2

[eluser]Sarfaraz Momin[/eluser]
cURL as it is commonly named is a a command line tool to transfer files supporting different protocols.The main purpose and use for cURL is to automate unattended file transfers or sequences of operations. It is a good tool for simulating user actions in the browser. Say you want to get the file after the you login to some service and get some information from that file you can use cURL.

And example would be a simple address book extraction from some yahoo account.

To begin with you can use the yahoo credentials to login to the yahoo account using the yahoo user authentication URL with all its required parameters. Once you are logged in you can access the url to import the address book with the parameter to save it to CSV. Once you have the CSV you can save it to your server and use your script to get all the contacts from that address book.

cURL can be real good tool for many things you do on the website.

For PHP though you can use libcURL library.

I hope it makes sense to you.

Good Day !!!
#3

[eluser]JamesD[/eluser]
[quote author="Sawariya" date="1198841810"]what is CURL ..can anybody explain abt it.. plz explain me with example[/quote]

Here are the details of CURL:
http://www.php.net/manual/en/ref.curl.php

-JamesD




Theme © iAndrew 2016 - Forum software by © MyBB