Monday, June 6, 2011

enabling web server to operate PHP and cURL

cURL stands for Client URL. cURL is a command line tool to perform the operation and manipulation briefly on the URL and can also be used for data transfer. The main purpose of the program is doing workon a regular basis and scheduled through protocols such as http, ftp,gopher, sftp, ftps, scp, tftp, and the other through the command line.The main objective is to use the command line can be used to batchpemprogaman Windows or Linux shell scripts to automate the URL.

In order to perform this function, it must be activated first library in php.you can check whether your web server has to support cURL or not,please use the phpinfo () to view them. Create a file named info.php,whose contents are as follows

<?php  phpinfo();  ?>
If not then immediately open php.ini with a text editor, to enable thelibrary in php, then delete ';' (semicolon)
Then restart the web service and re-check it with curl php info.php file earlier. Well if the new active, get into the implementation of the PHP cURL.



0 komentar:

Post a Comment